Bug 1013618 - Regression in make check functionality in automake
Summary: Regression in make check functionality in automake
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: automake
Version: 19
Hardware: Unspecified
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Pavel Raiskup
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-30 13:04 UTC by Mattias Ellert
Modified: 2013-09-30 13:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-30 13:40:38 UTC
Type: Bug
Embargoed:


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

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


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