Skip to content
Snippets Groups Projects
Commit e7e0d02b authored by David Georg Reichelt's avatar David Georg Reichelt
Browse files

Check whether specified configurations are legal

parent 512eedbf
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,20 @@ function printIntermediaryResults {
done
}
function checkMoobenchConfiguration {
for configurationId in $MOOBENCH_CONFIGURATIONS
do
echo "Checking: $configurationId"
label="${TITLE[$configurationId]}"
echo "Label: $label"
if [ -z "$label" ]
then
echo "Configuration is not defined: $configurationId"
exit 1
fi
done
}
#
# reporting
#
......
......@@ -129,7 +129,7 @@ RECEIVER[5]="${RECEIVER_BIN} 2345"
writeConfiguration
checkMoobenchConfiguration
#
# Run benchmark
#
......
......@@ -91,6 +91,7 @@ JAVA_ARGS_OPENTELEMETRY_JAEGER="${JAVA_ARGS_OPENTELEMETRY_BASIC} -Dotel.traces.e
JAVA_ARGS_OPENTELEMETRY_PROMETHEUS="${JAVA_ARGS_OPENTELEMETRY_BASIC} -Dotel.traces.exporter=none -Dotel.metrics.exporter=prometheus"
writeConfiguration
checkMoobenchConfiguration
#
# Run benchmark
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment