Skip to content

Commit ddc2b8d

Browse files
committed
Don't run watch on mips for now
1 parent e315b1a commit ddc2b8d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/executable.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ fn bad_v2_position_build() {
931931

932932
/// Ensures that watch command succeeds, and when a file is changed while running it rebuilds
933933
/// periodically
934-
#[cfg(feature = "serialization")]
934+
#[cfg(all(feature = "serialization", not(target_arch = "mips")))]
935935
#[test]
936936
fn v2_watch_succeeds() {
937937
let (_tempdir, temppath) = setup_v2();
@@ -958,10 +958,10 @@ fn v2_watch_succeeds() {
958958
if modified >= 3 {
959959
break;
960960
}
961-
961+
962962
{
963963
let mut file = File::create(&input).unwrap();
964-
writeln!(file, "New Text").unwrap();
964+
writeln!(file, "New Text {}", modified).unwrap();
965965
}
966966

967967
let new_mod = output.metadata().and_then(|meta| meta.modified()).unwrap();

0 commit comments

Comments
 (0)