Skip to content

Commit

Permalink
Disable proc macro tests for tvOS and watchOS
Browse files Browse the repository at this point in the history
this should fix #238 while we wait for a proper fix for
rust-lang/cargo#14735
  • Loading branch information
fredszaq committed Nov 18, 2024
1 parent 0de7844 commit b87539b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .travis.apple-third-tier.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,17 @@ tests_sequence_unstable_target() {
# There's something odd with using the .cargo/config runner attribute and
# workspaces when the runner uses `cargo run --manifest-path ../Cargo.toml
# --bin cargo-dinghy ...`
# TODO 2024/11/18 adding explict `--workspace --exclude test-proc-macro` to the cargo commands here
# TODO as a workaround for https://github.com/rust-lang/cargo/issues/14735 this should be removed when the issue
# TODO is resolved
title "testing from project directory for rust target $1 on device $2"
title "testing from workspace directory"
( \
cd test-ws \
&& cargo clean \
&& $CARGO_DINGHY -d $1 -p $2 +nightly test -Zbuild-std pass \
&& ! $CARGO_DINGHY -d $1 -p $2 +nightly test -Zbuild-std fails \
&& ! $CARGO_DINGHY -d $1 -p $2 +nightly test -Zbuild-std \
&& $CARGO_DINGHY -d $1 -p $2 +nightly test --workspace --exclude test-proc-macro -Zbuild-std pass \
&& ! $CARGO_DINGHY -d $1 -p $2 +nightly test --workspace --exclude test-proc-macro -Zbuild-std fails \
&& ! $CARGO_DINGHY -d $1 -p $2 +nightly test --workspace --exclude test-proc-macro -Zbuild-std \
)

title "testing from project directory"
Expand Down

0 comments on commit b87539b

Please sign in to comment.