forked from containers/toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/system: Connect system tests to Meson
A bit of plumbing in the build files has been done to accommodate the change as much as possible. If we're to use meson.build in the 'test/system' subdir we better also install the data from there. This also adjust the CI playbooks to launch the tests via Meson by specifying the specific test suite ('system'). This change also means the test suite needs to be run from the 'test/system' subdirectory for the bats helper libraries to be discovered correctly. containers#1062
- Loading branch information
1 parent
7a44a81
commit eb57489
Showing
6 changed files
with
100 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
test_system_libs_dir = test_system_dir / 'libs' | ||
|
||
test_system_libs_files = files( | ||
'helpers.bash' | ||
) | ||
|
||
install_data( | ||
install_dir: test_system_libs_dir, | ||
sources: test_system_libs_files | ||
) | ||
|
||
install_subdir( | ||
'bats-support', | ||
install_dir: test_system_libs_dir, | ||
exclude_files: [ | ||
'.git', | ||
'.gitignore', | ||
'.travis.yml', | ||
'package.json' | ||
], | ||
exclude_directories: [ | ||
'.git', | ||
'script', | ||
'test' | ||
] | ||
) | ||
|
||
install_subdir( | ||
'bats-assert', | ||
install_dir: test_system_libs_dir, | ||
exclude_files: [ | ||
'.git', | ||
'.gitignore', | ||
'.travis.yml', | ||
'package.json' | ||
], | ||
exclude_directories: [ | ||
'.git', | ||
'script', | ||
'test' | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters