Changeset 86c8fd6
- Timestamp:
- Apr 25, 2017, 12:03:08 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- b98c913
- Parents:
- cf67057
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/test.py
rcf67057 r86c8fd6 28 28 def getMachineType(): 29 29 sh('echo "void ?{}(int*a,int b){}int main(){return 0;}" > .dummy.c') 30 ret, out = sh("make .dummy", print2stdout=False) 30 ret, out = sh("make .dummy -s", print2stdout=False) 31 31 32 if ret != 0: 32 33 print("Failed to identify architecture:") 33 34 print(out) 34 35 print("Stopping") 36 sh("rm -f .dummy.c > /dev/null 2>&1") 37 sh("rm -f .dummy > /dev/null 2>&1") 35 38 sys.exit(1) 39 36 40 _, out = sh("file .dummy", print2stdout=False) 37 41 sh("rm -f .dummy.c > /dev/null 2>&1")
Note: See TracChangeset
for help on using the changeset viewer.