Skip to content
Commit f2986e15 authored by Anthony Barbier's avatar Anthony Barbier
Browse files

Refactoring of tools/test.py

- Removed '--fast'  (As requested by Jacob / Martyn).
- Removed '--simulator' (Unused).
- Changed default targets to [ 'a64', 't32', 'a64,a32,t32'] as requested
by Jacob.
- Fixed negative_testing handling (Still disabled by default).
- tools/test.py refactoring / simplification:
  - Removed TestOption classed and used a custom argparse.Action
  instead.
  - Keep environment_options and build_options as dictionaries instead
    of strings.
  - Simplified CanRunAarch64 / CanRunAarch32.
  - Simplified ListCombinations
  - Explicitely pass variables around instead of relying on
    global variables.
  - Created a ReturnCode class.
- Cap the maximum number of threads to 32.

Takes about 31min to run on x86 (Using cccache but not regrouping the
tests at the end of the run).

Change-Id: I381b80e866974d82d7caeb2e6b7e5483f395aab2
parent 7b4df2bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment