linuxOS_AP06/external/rockchip-test/benchmark/glmark2_test.sh
2025-06-03 12:28:32 +08:00

15 lines
403 B
Bash
Executable File

#!/bin/bash
# Define the path to the script relative to the current script's location
SCRIPT_PATH=" ${CURRENT_DIR}/../gpu/gpu_test.sh &"
# Check if the script exists and is executable
if [ -x "$SCRIPT_PATH" ]; then
echo "Executing the GPU test script..."
# Execute the script
$SCRIPT_PATH
else
echo "Error: The script '$SCRIPT_PATH' does not exist or is not executable."
exit 1
fi