Commit d3cd5a3f authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix make distcheck after the new shell tests



With the new shell tests, we have for the first time the situation
where tests require a binary built (via make), but the binary itself
is not the test. Hence, we need to declare and use check_SCRIPTS for
it.

Also corrects a wrong file name (introduced during rebase/editing the
patch series).

The end result is that `make distcheck` now passes.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 16197d69
......@@ -821,9 +821,12 @@ dist_TESTS = \
$(python_tests)
nodist_TESTS =
check_SCRIPTS =
if WANT_HTOOLSTESTS
nodist_TESTS += $(haskell_tests)
dist_TESTS += htools/offline-test.sh
check_SCRIPTS += htools/htools-hpc
endif
TESTS = $(dist_TESTS) $(nodist_TESTS)
......@@ -865,7 +868,7 @@ srclink_files = \
test/ganeti-cleaner_unittest.bash \
test/import-export_unittest.bash \
htools/offline-test.sh \
htools/cli-tests.sh \
htools/cli-tests-defs.sh \
$(all_python_code) \
$(HS_LIB_SRCS) $(HS_PROG_SRCS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment