Pass internal TEST_OPTS as TIG_TEST_OPTS to test scripts
commitf4c61c2d775547a2003265d840dddbf6a4b24750
authorJonas Fonseca <jonas.fonseca@gmail.com>
Tue, 10 Mar 2015 19:50:34 +0000 (10 15:50 -0400)
committerJonas Fonseca <jonas.fonseca@gmail.com>
Tue, 10 Mar 2015 20:09:50 +0000 (10 16:09 -0400)
treed25b530950d349f769813dbc6ab03e95cf1de05b
parentf2227f97076023307e3d931e606032aedef50542
Pass internal TEST_OPTS as TIG_TEST_OPTS to test scripts

If a test is run with TEST_OPTS set the hinted test options provided
by the Makefile are overridden. By passing the hints in a separate
environment variable the following command works as expected:

    make test TEST_SHELL=dash V=1 TEST_OPTS=verbose

where `V=1` will set TIG_TEST_OPTS to no-indent.
Makefile
test/tools/libtest.sh