Skip to content
Snippets Groups Projects
Commit 106f7305 authored by Jean-Baptiste Keck's avatar Jean-Baptiste Keck
Browse files

fixed yaml

parent 412aee20
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -51,6 +51,6 @@ test:ubuntu_zesty:
image: keckj/hysop:ubuntu_zesty
stage: test
script:
- "sh ci/scripts/test.sh $CI_PROJECT_DIR/install/gcc-6"
- "sh ci/scripts/test.sh $CI_PROJECT_DIR/install/gcc-6 $CI_PROJECT_DIR/hysop/hysop"
dependencies:
- install:ubuntu_zesty
#!/bin/bash
set -e
pwd
ls
if [ $# -ne 1 ]; then
echo "Usage ./test install_folder"
if [ $# -ne 2 ]; then
echo "Usage ./test install_folder hysop_folder"
exit 1
fi
......@@ -14,7 +11,15 @@ if [ ! -d "$1" ]; then
exit 1
fi
export PYTHONPATH="$1/lib/python2.7/site-packages"
if [ ! -d "$2" ]; then
echo "Folder $2 does not exist."
exit 1
fi
INSTALL_DIR=$1
HYSOP_DIR=$2
export PYTHONPATH="$INSTALL_DIR/lib/python2.7/site-packages"
python -c 'import hysop; print hysop'
python './hysop/operator/test_transpose.py'
python "$HYSOP_DIR/hysop/operator/test_transpose.py"
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment