Newer
Older
#!/bin/bash
source ./regression-tests/__regression_test_executer.sh
# 1. set reference data directory (must match the folder structure in https://github.com/irmb/test_data)
REFERENCE_DATA_DIR=regression_tests/cpu/LaminarPlaneFlow
# 2. set cmake flags for the build of VirtualFluids
CMAKE_FLAGS="--preset=make_cpu -DCMAKE_BUILD_TYPE=Release"
# 3. define the application to be executed
APPLICATION="./build/bin/LaminarPlaneFlow ./apps/cpu/LaminarPipeFlow/LaminarPlaneFlow.cfg""
# 4. set the path to the produced data
RESULT_DATA_DIR=output/LaminarPlaneFlow
run_regression_test "$REFERENCE_DATA_DIR" "$CMAKE_FLAGS" "$APPLICATION" "$RESULT_DATA_DIR"