summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/AS/as-live.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/AS/as-live.py b/test/AS/as-live.py
index 886dc8d..03c6f24 100644
--- a/test/AS/as-live.py
+++ b/test/AS/as-live.py
@@ -40,9 +40,7 @@ test = TestSCons.TestSCons()
-as = test.detect('AS', 'as')
-
-if not as:
+if not test.detect('AS', 'as'):
test.skip_test("as not found; skipping test\n")
x86 = (sys.platform == 'win32' or string.find(sys.platform, 'linux') != -1)