Don't append % to count totals.
[pspp-builds.git] / tests / automake.mk
index a905a010b9bac29b43021b1aa3519e6db49e0e7f..6fb11d02e46d12735160bf74754c4b38b71cf6a0 100644 (file)
@@ -49,6 +49,7 @@ dist_TESTS = \
        tests/command/rank.sh \
        tests/command/rename.sh \
        tests/command/regression.sh \
+       tests/command/regression-qr.sh \
        tests/command/sample.sh \
        tests/command/sort.sh \
        tests/command/sysfiles.sh \
@@ -310,3 +311,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