Make test skipped messages more instructive

Merged
#35 · Created  · Last updated

Merged pull request

Merged in feature/test-level-message (pull request #35)

84a2e09·Author: ·Closed by: ·2018-11-09

Description

This makes the test suite's “skipped test” messages more explicit, telling the user what variables need to be changed to run the skipped test.

With this PR, the previous skipped messages:

skipped: gs2_optimisation (test_level is 1: this test is level 2) skipped: fields_gf_local (field_gf_local test requires 6 processors but we are using only 2)

become

skipped: gs2_optimisation (current TEST_LEVEL=1; set TEST_LEVEL>=2 to run this test) skipped: fields_gf_local (current NTESTPROCS=2; set NTESTPROCS>=6 to run this test)

0 attachments

0 comments

Loading commits...