| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 02f2ebd commit 7db7a82
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1523,10 +1523,15 @@ def Main(): | |||
| 1523 | 1523 | if not exists(vm): | |
| 1524 | 1524 | print "Can't find shell executable: '%s'" % vm | |
| 1525 | 1525 | continue | |
| 1526 | + archEngineContext = Execute([vm, "-p", "process.arch"], context) | ||
| 1527 | + vmArch = archEngineContext.stdout.rstrip() | ||
| 1528 | + if archEngineContext.exit_code is not 0 or vmArch == "undefined": | ||
| 1529 | + print "Can't determine the arch of: '%s'" % vm | ||
| 1530 | + continue | ||
| 1526 | 1531 | env = { | |
| 1527 | 1532 | 'mode': mode, | |
| 1528 | 1533 | 'system': utils.GuessOS(), | |
| 1529 | - 'arch': arch, | ||
| 1534 | + 'arch': vmArch, | ||
| 1530 | 1535 | } | |
| 1531 | 1536 | test_list = root.ListTests([], path, context, arch, mode) | |
| 1532 | 1537 | unclassified_tests += test_list | |
| Back | FazBrowse Home | New Git URL |
0 commit comments