@@ -20,71 +20,73 @@ TEST_CFLAGS=""
2020
2121_help ()
2222{
23- echo " Usage options for $( basename $0 ) [--with-cc=arg [other options]]"
24- echo
25- echo " Executing this script without any parameter will only run the default"
26- echo " configuration that has automatically been determined for the"
27- echo " architecture you're running."
28- echo
29- echo " --with-cc=* The compiler(s) to use for the tests"
30- echo " This is an option that will be iterated."
31- echo
32- echo " --test-vs-mtest=* Run test vs. mtest for '*' operations."
33- echo " Only the first of each options will be"
34- echo " taken into account."
35- echo
36- echo " To be able to specify options a compiler has to be given with"
37- echo " the option --with-cc=compilername"
38- echo " All other options will be tested with all MP_xBIT configurations."
39- echo
40- echo " --with-{m64,m32,mx32} The architecture(s) to build and test"
41- echo " for, e.g. --with-mx32."
42- echo " This is an option that will be iterated,"
43- echo " multiple selections are possible."
44- echo " The mx32 architecture is not supported"
45- echo " by clang and will not be executed."
46- echo
47- echo " --cflags=* Give an option to the compiler,"
48- echo " e.g. --cflags=-g"
49- echo " This is an option that will always be"
50- echo " passed as parameter to CC."
51- echo
52- echo " --make-option=* Give an option to make,"
53- echo " e.g. --make-option=\" -f makefile.shared\" "
54- echo " This is an option that will always be"
55- echo " passed as parameter to make."
56- echo
57- echo " --with-low-mp Also build&run tests with -DMP_{8,16,32}BIT."
58- echo
59- echo " --mtest-real-rand Use real random data when running mtest."
60- echo
61- echo " --with-valgrind"
62- echo " --with-valgrind=* Run in valgrind (slow!)."
63- echo
64- echo " --with-travis-valgrind Run with valgrind on Travis on specific branches."
65- echo
66- echo " --valgrind-options Additional Valgrind options"
67- echo " Some of the options like e.g.:"
68- echo " --track-origins=yes add a lot of extra"
69- echo " runtime and may trigger the 30 minutes"
70- echo " timeout."
71- echo
72- echo " Godmode:"
73- echo
74- echo " --all Choose all architectures and gcc and clang"
75- echo " as compilers but does not run valgrind."
76- echo
77- echo " --format Runs the various source-code formatters"
78- echo " and generators and checks if the sources"
79- echo " are clean."
80- echo
81- echo " -h"
82- echo " --help This message"
83- echo
84- echo " -v"
85- echo " --version Prints the version. It is just the number"
86- echo " of git commits to this file, no deeper"
87- echo " meaning attached"
23+ cat << EOF
24+ Usage options for $( basename $0 ) [--with-cc=arg [other options]]
25+
26+ Executing this script without any parameter will only run the default
27+ configuration that has automatically been determined for the
28+ architecture you're running.
29+
30+ --with-cc=* The compiler(s) to use for the tests
31+ This is an option that will be iterated.
32+
33+ --test-vs-mtest=* Run test vs. mtest for '*' operations.
34+ Only the first of each options will be
35+ taken into account.
36+
37+ To be able to specify options a compiler has to be given with
38+ the option --with-cc=compilername
39+ All other options will be tested with all MP_xBIT configurations.
40+
41+ --with-{m64,m32,mx32} The architecture(s) to build and test
42+ for, e.g. --with-mx32.
43+ This is an option that will be iterated,
44+ multiple selections are possible.
45+ The mx32 architecture is not supported
46+ by clang and will not be executed.
47+
48+ --cflags=* Give an option to the compiler,
49+ e.g. --cflags=-g
50+ This is an option that will always be
51+ passed as parameter to CC.
52+
53+ --make-option=* Give an option to make,
54+ e.g. --make-option="-f makefile.shared"
55+ This is an option that will always be
56+ passed as parameter to make.
57+
58+ --with-low-mp Also build&run tests with -DMP_{8,16,32}BIT.
59+
60+ --mtest-real-rand Use real random data when running mtest.
61+
62+ --with-valgrind
63+ --with-valgrind=* Run in valgrind (slow!).
64+
65+ --with-travis-valgrind Run with valgrind on Travis on specific branches.
66+
67+ --valgrind-options Additional Valgrind options
68+ Some of the options like e.g.:
69+ --track-origins=yes add a lot of extra
70+ runtime and may trigger the 30 minutes
71+ timeout.
72+
73+ Godmode:
74+
75+ --all Choose all architectures and gcc and clang
76+ as compilers but does not run valgrind.
77+
78+ --format Runs the various source-code formatters
79+ and generators and checks if the sources
80+ are clean.
81+
82+ -h
83+ --help This message
84+
85+ -v
86+ --version Prints the version. It is just the number
87+ of git commits to this file, no deeper
88+ meaning attached
89+ EOF
8890 exit 0
8991}
9092
0 commit comments