Bug 1013618

Summary: Regression in make check functionality in automake
Product: [Fedora] Fedora Reporter: Mattias Ellert <mattias.ellert>
Component: automakeAssignee: Pavel Raiskup <praiskup>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 19CC: phracek, praiskup
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-30 13:40:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Test case - see the bug description for instructions
none
Proposed fix none

Description Mattias Ellert 2013-09-30 13:04:28 UTC
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
==================

Comment 1 Mattias Ellert 2013-09-30 13:06:14 UTC
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
============================================================================

Comment 2 Pavel Raiskup 2013-09-30 13:40:38 UTC
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