summaryrefslogtreecommitdiffstats
path: root/package/php/0001-acinclude.m4-don-t-unset-variables.patch
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2017-07-10 22:40:06 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-10 23:51:33 +0200
commit704db1586c1408106e1337bc7a2ab3cfec593899 (patch)
tree4672b41ff48a7e2bd71c29da964323ecb95e31af /package/php/0001-acinclude.m4-don-t-unset-variables.patch
parent9d06e91df85a2f02dd10dcac6a37a19da11b13aa (diff)
downloadbuildroot-704db1586c1408106e1337bc7a2ab3cfec593899.tar.gz
buildroot-704db1586c1408106e1337bc7a2ab3cfec593899.zip
support/testing: unbreak run-tests -l
In commit b78b50465c20c1733753a8dd47945cf80c9155f8, the initialisation of BRTest.builddir was moved to the __init__ function. However, it is set based on BRTest.outputdir and that is only set when the -o argument is given to run-tests. When called as "run-tests -l", there is no -o argument so BRTest.outputdir remains unset. To fix, keep BRTest.builddir at None when BRTest.outputdir is None. While we're at it, drop the direct access to the class member. If a subclass wishes to set outputdir to something else before calling BRTest.__init__, they are free to do so. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reported-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/php/0001-acinclude.m4-don-t-unset-variables.patch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud