tactcomplabs / rev

RISC-V SST CPU Component
Other
17 stars 21 forks source link

Add TEST_LEVEL variable to control which tests are run #294

Closed leekillough closed 3 months ago

leekillough commented 3 months ago

-DTEST_LEVEL=3 runs all tests, including the FP tests on the fenv branch. It is the default level.

-DTEST_LEVEL=2 runs all tests except the fenv tests. It runs the ISA tests, which are no longer controlled by BUILD_ASM_TESTING.

-DTEST_LEVEL=1 runs a small number of tests, and takes less than a minute to run.

This fixes #293 .

The all label has been removed from tests.

leekillough commented 3 months ago

Okay this looks good... Just for clarity's sake: If not otherwise specified, a test added using the add_rev_test cmake macro will always be run (ie. level_1)

Yes, test_level=1 is the default if it's not specified. There were only a few places where test_level=2 needed to be added, and test_level=3 is only the FP tests in my fenv branch (not shown here but will be merged with this when this is merged into devel)