2014-03-27 00:02:48 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2015-10-09 23:47:04 +02:00
|
|
|
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
|
|
|
|
|
2014-05-07 19:18:27 +02:00
|
|
|
./mount_image.sh ./copy_to_final.sh
|
2014-03-27 00:02:48 +01:00
|
|
|
|
|
|
|
pushd tests/
|
|
|
|
|
2015-10-09 23:47:04 +02:00
|
|
|
./run.sh ${TEST_PART_TYPE} ${TEST_SOURCE_TYPE}
|
|
|
|
./check_results.sh ${TEST_SOURCE_TYPE}
|
2014-03-27 00:02:48 +01:00
|
|
|
|
|
|
|
popd
|