Bug 1013618 - Regression in make check functionality in automake
Regression in make check functionality in automake
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: automake (Show other bugs)
19
Unspecified Linux
unspecified Severity urgent
: ---
: ---
Assigned To: Pavel Raiskup
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-30 09:04 EDT by Mattias Ellert
Modified: 2013-09-30 09:40 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-09-30 09:40:38 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Test case - see the bug description for instructions (520 bytes, application/x-gzip)
2013-09-30 09:04 EDT, Mattias Ellert
no flags Details
Proposed fix (1.49 KB, patch)
2013-09-30 09:06 EDT, Mattias Ellert
no flags Details | Diff

  None (edit)
Description Mattias Ellert 2013-09-30 09:04:28 EDT
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 09:06:14 EDT
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 09:40:38 EDT
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

Note You need to log in before you can comment on or make changes to this bug.