Skip to content

Warn if test setting has no effect (e.g. compile_timeout_multiplier on run_command)

I recently wrote this line in an all.T. Can you figure out how it's wrong?

test('tc266',
     [extra_clean(['Tc266.hi-boot', 'Tc266.o-boot', 'Tc266a.hi', 'Tc266a.o', 'Tc266.hi', 'Tc266.o']), compile_timeout_multiplier(0.01)] ,
     run_command,
     ['$MAKE -s --no-print-directory tc266'])

That's right, it should be run_timeout_multiplier, not compile timeout multiplier, which is literally a no-op for this test. There should be a warning if this happens.

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