Skip to content

In installation "make check" give syntax error #135

@Samuel006

Description

@Samuel006

My OS:
ASP Linux Server 5 (Red Hat Enterprise Linux 5.1).
gcc-3.4.6.-9, bash-3.0-19.6
I try to install re2c-0.16.tar.gz:

> ./configure - OK

> make - OK

> make check - test failed

> make tests - test failed:

make all-am
make[1]: Entering directory /root/new_packs/re2c-0.16' Reconfigure to rebuild docs: ./configure --enable-docs make[1]: Leaving directory/root/new_packs/re2c-0.16'
./run_tests.sh
./run_tests.sh: line 52: syntax error near unexpected token "$arg"' ./run_tests.sh: line 52: * ) tests+=("$arg") ;;'
make: *** [tests] Ошибка 2

I replaced string 52 in file ./run_tests.sh:
* ) tests+=("$arg") ;;' to line: * ) tests=${tests}${arg} ;;'
And now "make check" work excelent.
Please check my correction.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions