TESTS_ENVIRONMENT = top_srcdir='$(top_srcdir)' top_builddir='$(top_builddir)'
TESTS_ENVIRONMENT += PERL='@PERL@'
+
+# Allow locale_charset to find charset.alias before running "make install".
+TESTS_ENVIRONMENT += CHARSETALIASDIR='$(abs_top_builddir)/gl'
+
dist_TESTS = \
tests/command/aggregate.sh \
tests/command/autorecod.sh \
tests/command/file-handle.sh \
tests/command/filter.sh \
tests/command/flip.sh \
- tests/command/get-data-gnm.sh \
tests/command/import-export.sh \
tests/command/input-program.sh \
tests/command/insert.sh \
tests/formats/time-out.sh \
tests/formats/wkday-in.sh \
tests/formats/wkday-out.sh \
+ tests/formats/360.sh \
tests/bugs/agg_crash.sh \
tests/bugs/agg-crash-2.sh \
tests/bugs/alpha-freq.sh \
tests/expressions/variables.sh \
tests/expressions/vectors.sh
+if GNM_SUPPORT
+dist_TESTS += tests/command/get-data-gnm.sh
+endif
+
nodist_TESTS = \
tests/libpspp/abt-test \
tests/libpspp/bt-test \