Skip to content

Commit

Permalink
Change deprecation error to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
wz1000 authored and Rufflewind committed Apr 13, 2024
1 parent f67dac3 commit 6e7549d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/testscript
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
#!/bin/sh
set -eux

ghcflags="-rtsopts -threaded -Werror"
# directory-1.3.8.3 supports both filepath 1.4 and 1.5
# However, filepath 1.4.300.1 added a deprecation warning
# for some imports that were removed in filepath 1.5
# We disable -Werror for deprecations for this reason
ghcflags="-rtsopts -threaded -Werror -Wwarn=deprecations"
testflags="CreateDirectoryIfMissing001.num-repeats=100000 +RTS -N2"
stack="stack --no-terminal ${STACK_FLAGS-}"

Expand Down

0 comments on commit 6e7549d

Please sign in to comment.