1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
#!/bin/bash
set -e
cd $(dirname $0)/../../
testWithoutPreset()
{
tag=$1
shift 1
docker run hotspot-$tag bash -c "cd hotspot/build/ && ctest --output-on-failure -j \$(nproc) $@"
}
testWithPreset()
{
tag=$1
shift 1
suffix=
if [[ $tag == *qt6 ]]; then
suffix=-qt6
fi
docker run hotspot-$tag bash -c "cd hotspot && ctest --preset dev-asan$suffix -j \$(nproc) $@"
}
testWithoutPreset ubuntu20.04 "-E tst_perfdata"
testWithPreset ubuntu22.04
testWithPreset archlinuxqt6
testWithPreset opensusetumbleweedqt6
testWithPreset fedora42qt6
testWithPreset neonqt6
|