Commit b97d65a2 authored by Vasil Velichkov's avatar Vasil Velichkov Committed by Vasil Velichkov

Fix test execution on RHEL7

The `make check` was failing with

make[3]: Entering directory `/home/asn1c/asn1c_github/asn1c/tests'
../../config/test-driver: invalid option: '-C'
Usage:
  test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
              [--expect-failure={yes|no}] [--color-tests={yes|no}]
              [--enable-hard-errors={yes|no}] [--] TEST-SCRIPT
The '--test-name', '--log-file' and '--trs-file' options are mandatory.
make[3]: *** [check-src/check-03.-fwide-types.c.log] Error 2
parent 34452069
...@@ -17,7 +17,7 @@ abs_top_srcdir="${abs_top_srcdir:-$(pwd)/../../}" ...@@ -17,7 +17,7 @@ abs_top_srcdir="${abs_top_srcdir:-$(pwd)/../../}"
abs_top_builddir="${abs_top_builddir:-$(pwd)/../../}" abs_top_builddir="${abs_top_builddir:-$(pwd)/../../}"
if echo "$*" | grep -q -- -- ; then if echo "$*" | grep -q -- -- ; then
TEST_DRIVER=$(echo "$*" | sed -e 's/ -- .*/--/g') TEST_DRIVER=$(echo "$*" | sed -e 's/ -- .*/ -- /g')
source_full=$(echo "$*" | sed -e 's/.* //g') source_full=$(echo "$*" | sed -e 's/.* //g')
else else
TEST_DRIVER="" TEST_DRIVER=""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment