Skip to content

Commit 51c59f5

Browse files
committed
Fix path for analysis/tools binaries in test scripts
1 parent f62ea80 commit 51c59f5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

analysis/tests/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
for file in src/*.{res,resi}; do
22
output="$(dirname $file)/expected/$(basename $file).txt"
3-
../../rescript-editor-analysis.exe test $file &> $output
3+
../../_build/install/default/bin/rescript-editor-analysis test $file &> $output
44
# CI. We use LF, and the CI OCaml fork prints CRLF. Convert.
55
if [ "$RUNNER_OS" == "Windows" ]; then
66
perl -pi -e 's/\r\n/\n/g' -- $output
@@ -9,7 +9,7 @@ done
99

1010
for file in not_compiled/*.{res,resi}; do
1111
output="$(dirname $file)/expected/$(basename $file).txt"
12-
../../rescript-editor-analysis.exe test $file &> $output
12+
../../_build/install/default/bin/rescript-editor-analysis test $file &> $output
1313
# CI. We use LF, and the CI OCaml fork prints CRLF. Convert.
1414
if [ "$RUNNER_OS" == "Windows" ]; then
1515
perl -pi -e 's/\r\n/\n/g' -- $output

tools/tests/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
for file in src/*.{res,resi}; do
22
output="$(dirname $file)/expected/$(basename $file).json"
3-
dune exec --no-print-directory -- rescript-tools doc $file > $output
3+
../../_build/install/default/bin/rescript-tools doc $file > $output
44
# # CI. We use LF, and the CI OCaml fork prints CRLF. Convert.
55
if [ "$RUNNER_OS" == "Windows" ]; then
66
perl -pi -e 's/\r\n/\n/g' -- $output

0 commit comments

Comments
 (0)