-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tidy up integration script tests (#329)
* Tidy up integration script tests Move the scripts to the integration/ directory, and enable the `run_integration_tests` script to choose the Ubuntu version specific script based on the output of lsb_release. * shorten the lsb_release subcommand Signed-off-by: Alex Kavanagh <alex@ajkavanagh.co.uk>
- Loading branch information
1 parent
131e22f
commit 7db6143
Showing
4 changed files
with
15 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
_dir="$( cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)" | ||
_release=$(lsb_release -cs) | ||
|
||
if [[ "${_release}" == "bionic" ]]; then | ||
echo "Running Bionic (18:04) integration tests" | ||
exec ${_dir}/run_integration_tests-18-04 | ||
else | ||
echo "Running Xenial (16:04) integration tests" | ||
exec ${_dir}/run_integration_tests-16-04 | ||
fi |
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 was deleted.
Oops, something went wrong.