summaryrefslogtreecommitdiff
path: root/.azure-pipelines/commands/i.sh
diff options
context:
space:
mode:
Diffstat (limited to '.azure-pipelines/commands/i.sh')
-rwxr-xr-x.azure-pipelines/commands/i.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/.azure-pipelines/commands/i.sh b/.azure-pipelines/commands/i.sh
new file mode 100755
index 0000000000..2b3eed038b
--- /dev/null
+++ b/.azure-pipelines/commands/i.sh
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+# Temporary script to support side-by-side testing for incidental code coverage.
+# Once collection migration has been completed the incidental tests can be combined with the regular tests.
+
+set -o pipefail -eux
+
+declare -a args
+IFS='/:' read -ra args <<< "$1"
+
+script="${args[1]}"
+
+IFS='/' test="${args[*]:1}"
+
+".azure-pipelines/commands/incidental/${script}.sh" "${test}"