mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2025-07-21 12:41:05 +02:00
Revert 62908f3b8f
and fix a failure in tests.test_cli.TestCLI.test_without_arch while preserving the possibility to try more archs than the detected one.
This commit is contained in:
@@ -339,7 +339,9 @@ def inspect(args, output_file=sys.stdout):
|
||||
if args.arch:
|
||||
archs_to_try = [args.arch]
|
||||
else:
|
||||
archs_to_try = [detected_arch]
|
||||
archs_to_try = list(DEFAULT_ARCHS.values())
|
||||
archs_to_try.remove(detected_arch)
|
||||
archs_to_try.append(detected_arch)
|
||||
if args.syntax:
|
||||
syntaxes_to_try = [args.syntax]
|
||||
else:
|
||||
|
Reference in New Issue
Block a user