diff options
author | Ryan Moeller <[email protected]> | 2019-10-09 13:39:26 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-10-09 10:39:26 -0700 |
commit | 5e74ac51c70ee978e338e828f05377092d0637d4 (patch) | |
tree | 7182de383e8467e4a07481dbdc59cd0739cd4990 /tests/README.md | |
parent | ca5777793ee10b9f7bb57aef00a6c8d57969625e (diff) |
Move platform independent tests to a shared runfile
Tests that aren't limited to running on Linux can be moved to a common
runfile to be shared with other platforms.
The test runner and wrapper script are enhanced to allow specifying
multiple runfiles as a comma-separated list. The default runfiles are
now "common.run,PLATFORM.run" where PLATFORM is determined at run time.
Sections in runfiles that share a path with another runfile can append
a colon separator and an identifier to the path in the section
name, ie `[tests/functional/atime:Linux]`, to avoid overriding the tests
specified by other runfiles.
Reviewed-by: Jorgen Lundman <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: John Kennedy <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #9391
Diffstat (limited to 'tests/README.md')
-rw-r--r-- | tests/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/README.md b/tests/README.md index b2c7f99c7..713ab88d6 100644 --- a/tests/README.md +++ b/tests/README.md @@ -91,7 +91,7 @@ The following zfs-tests.sh options are supported: -s SIZE Use vdevs of SIZE (default: 4G) - -r RUNFILE Run tests in RUNFILE (default: linux.run) + -r RUNFILES Run tests in RUNFILES (default: common.run,linux.run) -t PATH Run single test at PATH relative to test suite @@ -149,4 +149,4 @@ with the `zfs-tests.sh` wrapper script will look something like this: Running Time: 02:35:33 Percent passed: 95.6% - Log directory: /var/tmp/test_results/20180515T054509
\ No newline at end of file + Log directory: /var/tmp/test_results/20180515T054509 |