Creating the test scripts used during CI
[osm/vim-emu.git] / utils / ci / build_01_unit_tests.sh
1 #! /bin/bash -e
2 set -x
3
4 # Go to the 'root' directory
5 SCRIPT_DIR=$(dirname $(readlink -f $0))
6 BASE_DIR=$(readlink -f "${SCRIPT_DIR}/../..")
7 cd ${BASE_DIR}
8
9 # Remove old test output
10 rm -rf utils/ci/junit-xml/*
11
12 # Launch the unit testing on emuvim
13 py.test -v --junit-xml=utils/ci/junit-xml/pytest_emuvim.xml src/emuvim