summaryrefslogtreecommitdiffstats
path: root/support/testing/tests/package/test_python.py
diff options
context:
space:
mode:
authorRicardo Martincoski <ricardo.martincoski@gmail.com>2017-10-05 18:42:07 -0300
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-10-06 18:53:13 +0200
commit4a1d220d9eeebd8394a190c4d82a00139c4baa51 (patch)
treecfebd87a8a654635d390bed4b18f7fa47339f4c5 /support/testing/tests/package/test_python.py
parentec5ceae930d729e79c90022a7b63301ad7a300d7 (diff)
downloadbuildroot-4a1d220d9eeebd8394a190c4d82a00139c4baa51.tar.gz
buildroot-4a1d220d9eeebd8394a190c4d82a00139c4baa51.zip
support/testing: allow to indent ccache defconfig fragment
Move the strip out of leading spaces in defconfig fragments from the BRTest class to the Builder class. It actually postpones the strip out, consequentially allowing test cases to post-process the defconfig in their own __init__ before calling the __init__ method from BRTest. Moving this code to the Builder class also allows any new test class that inherits from BRTest to reuse the same code even if the new class overrides the setUp method. At same time, prepend a newline to the jlevel handling otherwise it would stop working for defconfig fragments that don't end in a newline. Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Cc: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'support/testing/tests/package/test_python.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud