Fixed a few minor warnings when running autogen.sh.
parent
d08de3bdcb
commit
5be1fecbcb
|
@ -1,6 +1,6 @@
|
||||||
# GF-Complete 'examples' AM file
|
# GF-Complete 'examples' AM file
|
||||||
|
|
||||||
INCLUDES=-I./ -I../include
|
AM_CPPFLAGS=-I./ -I../include
|
||||||
AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC $(INCLUDES)
|
AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC $(INCLUDES)
|
||||||
|
|
||||||
bin_PROGRAMS = gf_example_1 gf_example_2 gf_example_3 gf_example_4 \
|
bin_PROGRAMS = gf_example_1 gf_example_2 gf_example_3 gf_example_4 \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# GF-Complete 'core' AM file
|
# GF-Complete 'core' AM file
|
||||||
# Creates the library
|
# Creates the library
|
||||||
|
|
||||||
INCLUDES=-I./ -I../include
|
AM_CPPFLAGS=-I./ -I../include
|
||||||
AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC $(INCLUDES)
|
AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC $(INCLUDES)
|
||||||
|
|
||||||
lib_LTLIBRARIES = libgf_complete.la
|
lib_LTLIBRARIES = libgf_complete.la
|
||||||
|
|
20
test-driver
20
test-driver
|
@ -1,7 +1,7 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# test-driver - basic testsuite driver script.
|
# test-driver - basic testsuite driver script.
|
||||||
|
|
||||||
scriptversion=2013-07-13.22; # UTC
|
scriptversion=2012-06-27.10; # UTC
|
||||||
|
|
||||||
# Copyright (C) 2011-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2011-2013 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
|
@ -44,12 +44,13 @@ print_usage ()
|
||||||
Usage:
|
Usage:
|
||||||
test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
|
test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
|
||||||
[--expect-failure={yes|no}] [--color-tests={yes|no}]
|
[--expect-failure={yes|no}] [--color-tests={yes|no}]
|
||||||
[--enable-hard-errors={yes|no}] [--]
|
[--enable-hard-errors={yes|no}] [--] TEST-SCRIPT
|
||||||
TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
|
|
||||||
The '--test-name', '--log-file' and '--trs-file' options are mandatory.
|
The '--test-name', '--log-file' and '--trs-file' options are mandatory.
|
||||||
END
|
END
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# TODO: better error handling in option parsing (in particular, ensure
|
||||||
|
# TODO: $log_file, $trs_file and $test_name are defined).
|
||||||
test_name= # Used for reporting.
|
test_name= # Used for reporting.
|
||||||
log_file= # Where to save the output of the test script.
|
log_file= # Where to save the output of the test script.
|
||||||
trs_file= # Where to save the metadata of the test run.
|
trs_file= # Where to save the metadata of the test run.
|
||||||
|
@ -68,23 +69,10 @@ while test $# -gt 0; do
|
||||||
--enable-hard-errors) enable_hard_errors=$2; shift;;
|
--enable-hard-errors) enable_hard_errors=$2; shift;;
|
||||||
--) shift; break;;
|
--) shift; break;;
|
||||||
-*) usage_error "invalid option: '$1'";;
|
-*) usage_error "invalid option: '$1'";;
|
||||||
*) break;;
|
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
missing_opts=
|
|
||||||
test x"$test_name" = x && missing_opts="$missing_opts --test-name"
|
|
||||||
test x"$log_file" = x && missing_opts="$missing_opts --log-file"
|
|
||||||
test x"$trs_file" = x && missing_opts="$missing_opts --trs-file"
|
|
||||||
if test x"$missing_opts" != x; then
|
|
||||||
usage_error "the following mandatory options are missing:$missing_opts"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test $# -eq 0; then
|
|
||||||
usage_error "missing argument"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test $color_tests = yes; then
|
if test $color_tests = yes; then
|
||||||
# Keep this in sync with 'lib/am/check.am:$(am__tty_colors)'.
|
# Keep this in sync with 'lib/am/check.am:$(am__tty_colors)'.
|
||||||
red='[0;31m' # Red.
|
red='[0;31m' # Red.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# GF-Complete 'test' AM file
|
# GF-Complete 'test' AM file
|
||||||
|
|
||||||
INCLUDES=-I./ -I../include
|
AM_CPPFLAGS=-I./ -I../include
|
||||||
AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC $(INCLUDES)
|
AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC $(INCLUDES)
|
||||||
|
|
||||||
bin_PROGRAMS = gf_unit
|
bin_PROGRAMS = gf_unit
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# GF-Complete 'tools' AM file
|
# GF-Complete 'tools' AM file
|
||||||
|
|
||||||
INCLUDES=-I./ -I../include
|
AM_CPPFLAGS=-I./ -I../include
|
||||||
AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC $(INCLUDES)
|
AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC $(INCLUDES)
|
||||||
|
|
||||||
TESTS=run-tests.sh
|
TESTS=run-tests.sh
|
||||||
|
|
Loading…
Reference in New Issue