Created attachment 805193 [details] Test case - see the bug description for instructions Description of problem: Makefiles that worked with older versions of automake no longer works. Example attached. Version-Release number of selected component (if applicable): automake-1.13.4-1.fc19.noarch How reproducible: Always. Steps to Reproduce: 1. tar -z -x -f test-env-test.tar.gz 2. cd test-env-test 3. autoreconf -i 4. ./configure 5. make check Actual results: Unrecognized character \x7F; marked by <-- HERE after <-- HERE near column 1 at /bin/sh line 1. Expected results: Working makefile like in older versions of automake, e.g. on CentOS 6: ./t1.pm syntax OK PASS: t1.pm ./t2.pm syntax OK PASS: t2.pm ================== All 2 tests passed ==================
Created attachment 805195 [details] Proposed fix With this patch it works again: PASS: t1.pm PASS: t2.pm ============================================================================ Testsuite summary for test-env-test 1.0 ============================================================================ # TOTAL: 2 # PASS: 2 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================
Thanks for this report. Note that Parallel Harness was enabled by default in automake. This usage of TEST_ENVIRONMENT, according to automake documentation, is correct only for Serial Harness. Thus (if you really want to use this feature), you should enable serial-tests option in configure.ac: AM_INIT_AUTOMAKE([foreign serial-tests]). For more info, look at 'info automake', chapter 15.2.2 Older (and discouraged) serial test harness Pavel