## -*- Automake -*-
##
-## Copyright (C) 2011 Free Software Foundation, Inc.
+## Copyright (C) 2011, 2012 Free Software Foundation, Inc.
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
else \
diff='diff'; \
fi; \
-## Determine which files are to be considered test scripts.
-## Do not blindly look for `$(TEST_EXTENSIONS)', because the parallel
-## testsuite driver provided by Automake allow entries in `$(TESTS)'
-## not to be real files, but rather paramaters for the corresponding
-## LOG_COMPILER (well, sort of).
- set X $(checked_test_extensions); shift; \
- if test $$# -eq 0; then \
- set X $(TEST_EXTENSIONS); shift; \
- fi; \
- if test $$# -eq 0; then \
- echo '$@: internal error: $$(checked_test_extensions) and' \
- '$$(TEST_EXTENSIONS) are both undefined or empty' >&2; \
- exit 255; \
- fi; \
## List of tests in Makefile.
lst='$(expected_list_of_tests)'; \
test -n "$$lst" || lst='$(TESTS)'; \
echo "$$t"; \
done | sort >$(am__tmk); \
## List of tests on filesystem. Be careful to cater for VPATH builds too.
- for ext in $$*; do \
+ for ext in $(TEST_EXTENSIONS); do \
ls *$$ext 2>/dev/null; \
if test $(srcdir) != $(builddir); then \
(cd $(srcdir) && ls *$$ext 2>/dev/null); \