Skip to content

Commit

Permalink
Account for varying mlr locations (#1086)
Browse files Browse the repository at this point in the history
The expected error output for the "not-a-valid-timezone" test assumes
that mlr is invoked as mlr. Use "${MLR}" instead to cope with any
invocation path.

This also adds a regression test to catch future instances before they
get merged.

Signed-off-by: Stephen Kitt <[email protected]>

Signed-off-by: Stephen Kitt <[email protected]>
  • Loading branch information
skitt authored Aug 23, 2022
1 parent abf58f4 commit cdbe8b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
- name: Test
run: make check

- name: Regression tests
# We run these with a convoluted path to ensure the tests don't
# rely on a specific invocation
run: test/../mlr regtest -S

- name: PrepareArtifactNonWindows
if: matrix.os != 'windows-latest'
run: mkdir -p bin/${{matrix.os}} && cp mlr bin/${{matrix.os}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mlr : unknown time zone this-is-not-a-valid-timezone-name
${MLR} : unknown time zone this-is-not-a-valid-timezone-name

0 comments on commit cdbe8b8

Please sign in to comment.