summaryrefslogtreecommitdiffstats
path: root/tests/run-make/overwrite-input
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:42 +0000
commitcec1877e180393eba0f6ddb0cf97bf3a791631c7 (patch)
tree47b4dac2a9dd9a40c30c251b4d4a72d7ccf77e9f /tests/run-make/overwrite-input
parentAdding debian version 1.74.1+dfsg1-1. (diff)
downloadrustc-cec1877e180393eba0f6ddb0cf97bf3a791631c7.tar.xz
rustc-cec1877e180393eba0f6ddb0cf97bf3a791631c7.zip
Merging upstream version 1.75.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/run-make/overwrite-input')
-rw-r--r--tests/run-make/overwrite-input/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/run-make/overwrite-input/Makefile b/tests/run-make/overwrite-input/Makefile
index c62b5aab1..721bf62b2 100644
--- a/tests/run-make/overwrite-input/Makefile
+++ b/tests/run-make/overwrite-input/Makefile
@@ -3,11 +3,5 @@ include ../tools.mk
all:
$(RUSTC) main.rs -o main.rs 2> $(TMPDIR)/file.stderr || echo "failed successfully"
$(RUSTC) main.rs -o . 2> $(TMPDIR)/folder.stderr || echo "failed successfully"
-
-ifdef RUSTC_BLESS_TEST
- cp "$(TMPDIR)"/file.stderr file.stderr
- cp "$(TMPDIR)"/folder.stderr folder.stderr
-else
- $(DIFF) file.stderr "$(TMPDIR)"/file.stderr
- $(DIFF) folder.stderr "$(TMPDIR)"/folder.stderr
-endif
+ $(RUSTC_TEST_OP) "$(TMPDIR)"/file.stderr file.stderr
+ $(RUSTC_TEST_OP) "$(TMPDIR)"/folder.stderr folder.stderr