Commit 756ae1e8 authored by Jason Hiser's avatar Jason Hiser 🚜

fixed tests to set env vars for this module

parent d93213d0
Pipeline #2526 passed with stages
in 7 minutes and 6 seconds
......@@ -126,26 +126,4 @@ basic-pgms-killdeads-centos75:
variables:
OS: 'centos75'
#
# test_cmds.sh rida-p1
#
.basic-pgms-rida-p1: &basic-pgms-rida-p1
stage: test
script:
- ./cicd_testing/basic-pgms-rida-p1.sh
basic-pgms-rida-p1-ubuntu18:
<<: *basic-pgms-rida-p1
tags:
- ubuntu18
basic-pgms-rida-p1-ubuntu16:
<<: *basic-pgms-rida-p1
tags:
- ubuntu16
basic-pgms-rida-p1-centos75:
<<: *basic-pgms-rida-p1
tags:
- centos75
......@@ -2,8 +2,15 @@
set -e
set -x
orig_dir=$(pwd)
# set env vars.
cd $CICD_MODULE_WORK_DIR/cookbook_test
source set_env_vars
cd $orig_dir
source set_env_vars
# run tests
cd $PEASOUP_HOME/tests
make clean;
./test_cmds.sh -c kill_deads_rida -l -a "tcpdump"
......
#/bin/bash
set -e
set -x
cd $CICD_MODULE_WORK_DIR/cookbook_test
source set_env_vars
cd $PEASOUP_HOME/tests
make clean
./test_cmds.sh -l -c rida_p1
......@@ -32,6 +32,7 @@ main()
./postgres_setup.sh
cd $orig_dir
source set_env_vars
scons -j 3
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment