Circlean/run_tests.sh

23 lines
320 B
Bash
Raw Normal View History

2014-03-27 00:02:48 +01:00
#!/bin/bash
TEST_PART_TYPE=${1}
TEST_SOURCE_TYPE=${2}
if [ -z "$1" ]; then
TEST_PART_TYPE="VFAT_NORM"
fi
if [ -z "$2" ]; then
TEST_SOURCE_TYPE="t_images1"
fi
2014-03-27 18:57:00 +01:00
set -e
./mount_image.sh ./copy_to_final.sh
2014-03-27 00:02:48 +01:00
pushd tests/
./run.sh ${TEST_PART_TYPE} ${TEST_SOURCE_TYPE}
./check_results.sh ${TEST_SOURCE_TYPE}
2014-03-27 00:02:48 +01:00
popd