aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2020-11-28 20:19:24 +0000
committerPhilip Herron <philip.herron@embecosm.com>2020-11-28 21:13:22 +0000
commitf28325125b7ea31e5cbfd3269a3ee6a4b79ddfd2 (patch)
tree96c155ee48eef74c82336f2b4da3b1a92381f549 /gcc/rust
parent0db8774645244b08d0e0cd18275ea64ff96f6911 (diff)
downloadgcc-f28325125b7ea31e5cbfd3269a3ee6a4b79ddfd2.zip
gcc-f28325125b7ea31e5cbfd3269a3ee6a4b79ddfd2.tar.gz
gcc-f28325125b7ea31e5cbfd3269a3ee6a4b79ddfd2.tar.bz2
Initial TestSuite setup for make check-rust
This is an initial basic testsuite with one file with expected failures for now.
Diffstat (limited to 'gcc/rust')
-rw-r--r--gcc/rust/Make-lang.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in
index 3293f90..d35b41f 100644
--- a/gcc/rust/Make-lang.in
+++ b/gcc/rust/Make-lang.in
@@ -30,7 +30,7 @@ GCCRS_INSTALL_NAME := $(shell echo gccrs|sed '$(program_transform_name)')
GCCRS_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo gccrs|sed '$(program_transform_name)')
# Define the names for selecting rust in LANGUAGES.
-rust: gccrs$(exeext) rust1$(exeext)
+rust: rust1$(exeext)
# Tell GNU make to ignore files by these names if they exist.
.PHONY: rust
@@ -88,6 +88,10 @@ rust1$(exeext): $(RUST_ALL_OBJS) attribs.o $(BACKEND) $(LIBDEPS)
# Build hooks.
+lang_checks += check-rust
+lang_checks_parallelized += check-rust
+check_rust_parallelize = 10
+
# Copies its dependencies into the source directory. This generally should be used for generated files
# such as Bison output files which are not version-controlled, but should be included in any release
# tarballs. This target will be executed during a bootstrap if ‘--enable-generated-files-in-srcdir’