Skip to content

make test WAY=xxx broken

It seems like running

make test WAY=someWay

is broken. Looking at the runtest.py, it seems that we parse the arguments to the test driver before reading the configuration file (e.g. config/ghc), and thus the --way flags arguments are not available.

E.g. the way options get populated, once the --config-file argument is processed. But the argument parser seems to be eager and as such the handling of the --config-file happens *after* all of the arguments have been parsed. Therefore the set of available --ways are always the empty set.

I don't know if python2 was lazy here. But with python3 using --way seems impossible.

Trac metadata
Trac field Value
Version 8.2.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Test Suite
Test case
Differential revisions
BlockedBy
Related
Blocking
CC bgamari, simonmar
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information