X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fautomake.mk;h=bfca93d4b90218fc00bcb57ad65e17fd5e22b15d;hb=57c639477e7373acce1ad3215bdc90835a9099b2;hp=ac9b415cce508a8b1a055831739c256a94deb8fe;hpb=123d16d68da74c02aca66ba3896e5ec2d33efbc0;p=pspp-builds.git diff --git a/tests/automake.mk b/tests/automake.mk index ac9b415c..bfca93d4 100644 --- a/tests/automake.mk +++ b/tests/automake.mk @@ -270,6 +270,7 @@ tests_dissect_sysfile_SOURCES = \ src/libpspp/float-format.c \ tests/dissect-sysfile.c tests_dissect_sysfile_LDADD = gl/libgl.la @LIBINTL@ +tests_dissect_sysfile_CPPFLAGS = $(AM_CPPFLAGS) -DINSTALLDIR=\"$(bindir)\" EXTRA_DIST += \ $(dist_TESTS) \ @@ -311,3 +312,11 @@ EXTRA_DIST += \ CLEANFILES += *.save pspp.* foo* +DIST_HOOKS += check-for-export-var-val +check-for-export-var-val: + @if grep -q 'export .*=' $(dist_TESTS) ; then \ + echo 'One or more tests contain non-portable "export VAR=val" syntax' ; \ + false ; \ + fi + +EXTRA_DIST += tests/OChangeLog