]> git.proxmox.com Git - mirror_zfs.git/commit - tests/runfiles/linux.run
Move platform independent tests to a shared runfile
authorRyan Moeller <ryan@iXsystems.com>
Wed, 9 Oct 2019 17:39:26 +0000 (13:39 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 9 Oct 2019 17:39:26 +0000 (10:39 -0700)
commit5e74ac51c70ee978e338e828f05377092d0637d4
tree7182de383e8467e4a07481dbdc59cd0739cd4990
parentca5777793ee10b9f7bb57aef00a6c8d57969625e
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 <lundman@lundman.net>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Ryan Moeller <ryan@ixsystems.com>
Closes #9391
scripts/zfs-tests.sh
tests/README.md
tests/runfiles/Makefile.am
tests/runfiles/common.run [new file with mode: 0644]
tests/runfiles/linux.run
tests/test-runner/bin/test-runner.py