We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15eb126 commit 69be8f2Copy full SHA for 69be8f2
base/container_scripts/run_functional_tests.sh
@@ -4,11 +4,6 @@ declare PACKAGE="$1"
4
5
set -e
6
7
-if [ $PACKAGE == "pulp_file" ]
8
-then
9
- declare PACKAGE="pulpcore"
10
-fi
11
-
12
declare PROJECT="${PACKAGE//-/_}"
13
14
function check_pytest () {
@@ -41,9 +36,14 @@ EOF
41
36
}
42
37
43
38
44
-cd "/src/$PACKAGE/"
39
+if [[ ${PACKAGE} == "pulp_file" || ${PACKAGE} == "pulp_certguard" ]]
40
+then
+ cd "/src/pulpcore/"
+else
+ cd "/src/${PACKAGE}/"
+fi
45
46
check_pytest
47
check_client
48
49
-sudo -u pulp -E pytest -r sx --rootdir=/var/lib/pulp --color=yes --pyargs "$PROJECT.tests.functional" "${@:2}"
+sudo -u pulp -E pytest -r sx --rootdir=/var/lib/pulp --color=yes --pyargs "${PROJECT}.tests.functional" "${@:2}"
0 commit comments