Merge pull request #5104 from ridiculousfish/expect_tests

Teach cmake to run expect tests
This commit is contained in:
ridiculousfish 2018-07-21 16:03:58 -07:00 committed by GitHub
commit 0f568d4f66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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