From 11502c0d366c558157e6419e9bdcb4c346581423 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 21 Jul 2018 15:43:31 -0700 Subject: [PATCH] Teach cmake to run expect tests Fixes #4794 --- cmake/Tests.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cmake/Tests.cmake b/cmake/Tests.cmake index aadcecf2c..cab0158e9 100644 --- a/cmake/Tests.cmake +++ b/cmake/Tests.cmake @@ -114,8 +114,13 @@ ADD_CUSTOM_TARGET(test_fishscript # cd tests; ../test/root/bin/fish interactive.fish # .PHONY: test_interactive +ADD_CUSTOM_TARGET(test_interactive + COMMAND cd tests && ${TEST_ROOT_DIR}/bin/fish interactive.fish + DEPENDS test_prep test_invocation test_fishscript + USES_TERMINAL) + ADD_CUSTOM_TARGET(test_high_level - DEPENDS test_invocation test_fishscript) + DEPENDS test_invocation test_fishscript test_interactive) ADD_DEPENDENCIES(test test_high_level) # Group test targets into a TestTargets folder