2fedb6b1dd
Resolves: rhbz#2174845 Signed-off-by: Tomáš Hozza <thozza@redhat.com>
30 lines
541 B
Bash
Executable File
30 lines
541 B
Bash
Executable File
#!/bin/sh
|
|
set -eux
|
|
|
|
cd $SOURCE
|
|
git init
|
|
make bots test/common machine
|
|
|
|
# only install a subset to save time/space
|
|
npm install chrome-remote-interface sizzle
|
|
|
|
. /etc/os-release
|
|
export TEST_OS="${ID}-${VERSION_ID/./-}"
|
|
|
|
RC=0
|
|
|
|
for t in test/verify/check-{blueprintList,blueprintWizard,imageWizard}
|
|
do
|
|
$t \
|
|
--enable-network \
|
|
--machine 127.0.0.1:22 \
|
|
--browser 127.0.0.1:9090 \
|
|
--verbose --trace \
|
|
|| RC=$?
|
|
done
|
|
|
|
echo $RC > "$LOGS/exitcode"
|
|
cp --verbose Test* "$LOGS" || true
|
|
# deliver test result via exitcode file
|
|
exit 0
|