Skip to content

Commit 7bbad97

Browse files
committed
Conditionally import afl
1 parent 15381a2 commit 7bbad97

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tunshell-client/docker/prod.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ COPY . /app/
1111

1212
WORKDIR /app/tunshell-client
1313

14-
RUN [ -n "${RUN_TESTS}" ] && cargo test
14+
RUN ([ -n "${RUN_TESTS}" ] && cargo test) || true
1515
RUN cargo build --release
1616

1717
FROM alpine:latest

tunshell-shared/Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@ anyhow = "1.0"
1313
futures = "0.3.5"
1414
futures-test = "0.3.5"
1515
log = "0.4.8"
16+
17+
[target.'cfg(fuzzing)'.dependencies]
1618
afl = "0.8.0"

0 commit comments

Comments
 (0)