Skip to content

Test driver rejects valid ways passed on the command line

running

hadrian test --only=T367_letnoescape --test-way=optllvm 

should run the given test in the given way.

However, the commandline parsing rejects optllvm, as it has not been recorded as a valid way yet.

optllvm is added to compile_ways in get_compiler_info.

I can confirm this by adding

    print("DOUGRULZ-adding-ways")

to get_compiler_info and observing that optllvm is rejected before the above trace is printed.

WARNING: Unknown WAY optllvm in --way
DOUGRULZ-added-ways
Timeout is 300

I have not investigated whether this affects other ways.

Edited by Douglas Wilson
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information