
Flamegraphs are attached to the build as artifacts. New tests can be added by creating a new gtest in slow_test. Tests like TEST (flamegraph, testname_x) will be executed if testname_x is added to the flamegraph.yaml file test matrix.
14 lines
297 B
Bash
Executable file
14 lines
297 B
Bash
Executable file
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
# Ensure that an argument is provided
|
|
if [ "$#" -ne 1 ]; then
|
|
echo "Usage: $0 <argument>"
|
|
exit 1
|
|
fi
|
|
|
|
# Capture the argument
|
|
ARGUMENT="$1"
|
|
|
|
# Run the command with the argument
|
|
$(dirname "$BASH_SOURCE")/run-tests.sh slow_test --gtest_filter=flamegraph.${ARGUMENT}
|