summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-09-08 18:39:50 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-09-08 19:33:47 +0200
commit85bb53f3ff2210e129ac0185d9231dbbf75afdee (patch)
treebb662f7b98c02a57cdad24ab101b4c82b285c583
parent374f48873424f9167f508a53a80f3ea1c2d41c46 (diff)
Fix a testsuite-related error for powerpc
The LD environment variable needs to be set now (in 4.19-rc2). It's referenced by LD_DEAD_CODE_DATA_ELIMINATION. The tests probably ought to run everything run via 'scriptconfig' in a clean environment, because 'scriptconfig' automatically picks up environment variables anyway. The current setup is nice in that it indirectly catches stuff that might affect the defconfig tests though, which don't use scriptconfig.
-rw-r--r--testsuite.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite.py b/testsuite.py
index eb305e0..b5f0388 100644
--- a/testsuite.py
+++ b/testsuite.py
@@ -2538,6 +2538,7 @@ def run_compatibility_tests():
os.environ["srctree"] = "."
os.environ["CC"] = "gcc"
+ os.environ["LD"] = "ld"
if not os.path.exists("scripts/kconfig/conf"):