Skip to content

Commit

Permalink
add tests disabling counters (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjodinchr authored Apr 3, 2024
1 parent cc51562 commit 6745823
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ VKSP_RUNNER=${VKSP_RUNNER:-"vulkan-shader-profiler-runner"}

${VKSP_RUNNER} -i "${SCRIPT_DIR}/example.spvasm" -v
${VKSP_RUNNER} -i "${SCRIPT_DIR}/example-counter.spvasm" | grep "my_section"
${VKSP_RUNNER} -i "${SCRIPT_DIR}/example-counter.spvasm" -c
if ${VKSP_RUNNER} -i "${SCRIPT_DIR}/example-counter.spvasm" -c | grep "my_section"
then
echo "'my_section' should not be found"
exit -1
fi

0 comments on commit 6745823

Please sign in to comment.