more reliable check

This commit is contained in:
Adeeb Shihadeh
2022-08-25 17:30:00 -07:00
parent 051e1e0a06
commit e9d27750af
+1 -1
View File
@@ -52,7 +52,7 @@ AddOption('--no-thneed',
AddOption('--no-test',
action='store_false',
dest='test',
default=os.path.isfile(Dir('#laika_repo').abspath),
default=os.path.islink(Dir('#laika/').abspath),
help='skip building test files')
real_arch = arch = subprocess.check_output(["uname", "-m"], encoding='utf8').rstrip()