62 Commits

Author SHA1 Message Date
Guillaume Gomez
2640b316e2 Switch to config.toml instead of gcc-path 2024-02-11 21:53:56 +01:00
Antoni Boucher
6b05753cb3 Run the tests of popular crates in the CI 2024-02-10 09:32:44 -05:00
Antoni Boucher
ad8e820139 Update for rebased gcc 2024-02-02 11:49:32 -05:00
antoyo
2a36f58475
Merge pull request #416 from Liewyec/feature/improve-iterator-for-file-suppression
Improve iterator for files suppression
2024-02-01 09:10:38 -05:00
liewyec
599492a3d5 replace filter with skip and take 2024-01-21 09:22:32 +01:00
antoyo
e747d42bfd
Merge pull request #415 from rowan-sl/rename-clean-ui-tests
Rename `y.sh test --clean-ui-tests` to `y.sh clean ui-tests`
2024-01-19 15:05:33 -05:00
Rowan S-L
94ed9d16cf rename y.sh test --clean-ui-tests to y.sh clean ui-tests 2024-01-18 12:41:25 -05:00
Nic
dcb531f130
Update build_system/src/test.rs
Co-authored-by: antoyo <antoyo@users.noreply.github.com>
2024-01-16 12:57:34 -05:00
Nicholas Thompson
7dd3f6fffb call rustup which 2024-01-14 14:19:40 -05:00
Nicholas Thompson
52946377dc Honor $RUSTUP_HOME 2024-01-14 11:52:06 -05:00
Antoni Boucher
45137ddd32 Fix the destination path of the sysroot copy 2024-01-11 17:41:37 -05:00
Guillaume Gomez
c122376493 Don't show cargo command errors 2023-12-29 21:27:36 +01:00
Guillaume Gomez
ec94074817 Correctly take into account potential position of cargo command in y.sh 2023-12-23 00:13:09 +01:00
Guillaume Gomez
2e52b08800 Rustify cargo.sh 2023-12-23 00:13:09 +01:00
Guillaume Gomez
6631dd9dd2 Don't stop test if llvm FileCheck cannot be found 2023-12-20 21:44:12 +01:00
Guillaume Gomez
87a704a227 If the rustc commit cannot be retrieve, just checkout the repository 2023-12-20 21:33:21 +01:00
Guillaume Gomez
e26e074261 Rustify clean_all.sh 2023-12-20 15:47:50 +01:00
Guillaume Gomez
8e870c75d9 Remove unused TestArgs::use_backend and display messages in case a test is not run 2023-12-19 22:25:48 +01:00
Guillaume Gomez
6e53832eda Simplify Runner type alias 2023-12-19 21:15:28 +01:00
Guillaume Gomez
984e045848 Show output of --mini-tests and --std-tests commands 2023-12-19 16:54:02 +01:00
Guillaume Gomez
bb4fd2c638 Simplify code by removing unneeded pattern matching 2023-12-19 01:16:29 +01:00
Guillaume Gomez
f516c96811 Add comment about why -Cpanic=abort option is needed 2023-12-19 01:07:01 +01:00
Guillaume Gomez
a8b0e30a8b Error earlier if the rustc host cannot be found 2023-12-18 23:25:23 +01:00
Guillaume Gomez
9882d7c511 Apply suggestions 2023-12-16 17:56:03 +01:00
Guillaume Gomez
95dfe5ec90 Simplify split_args code, add a unit test for it and run it into CI 2023-12-16 17:39:58 +01:00
Guillaume Gomez
db9b932314 Fix sysroot build 2023-12-14 17:11:35 +01:00
Guillaume Gomez
867ea12488 Fix non-running rustc ui tests 2023-12-13 17:49:08 +01:00
Guillaume Gomez
ebb7aa0b85 Apply suggestions 2023-12-04 17:33:18 +01:00
Guillaume Gomez
996635bad6 Fix chroot command 2023-12-04 15:29:23 +01:00
Guillaume Gomez
2ec8d46dd1 Correctly handle OVERWRITE_TARGET_TRIPLE env variable 2023-12-04 15:29:23 +01:00
Guillaume Gomez
53b2759bef Show command which failed 2023-12-04 15:29:23 +01:00
Guillaume Gomez
ff04316243 Remove --target option 2023-12-04 15:29:23 +01:00
Guillaume Gomez
970b2c7700 Fix build_sysroot by adding missing RUSTFLAGS environment variable 2023-12-04 15:29:23 +01:00
Guillaume Gomez
7d71b87691 Correctly set --cap-lints when running regex tests 2023-12-04 15:29:23 +01:00
Guillaume Gomez
ad1d5417e7 Set RUSTDOCFLAGS environment variable in run_cargo_command_with_callback function 2023-12-04 15:29:23 +01:00
Guillaume Gomez
7013eccc05 Add missing code comment 2023-12-04 15:29:23 +01:00
Guillaume Gomez
3c6bae7fa8 Use the correct folder when deleting rust UI tests 2023-12-04 15:29:23 +01:00
Guillaume Gomez
4bed89f79b Correctly pass toolchain to cargo command 2023-12-04 15:29:23 +01:00
Guillaume Gomez
d793f80bd4 Correctly pass cfg option 2023-12-04 15:29:23 +01:00
Guillaume Gomez
673661db8b Remove newline for llvm FileCheck binary path 2023-12-04 15:29:23 +01:00
Guillaume Gomez
23c97b545d Replace xargs command with pure Rust 2023-12-04 15:29:23 +01:00
Guillaume Gomez
87c284c9bc Only read rust test files 2023-12-04 15:29:23 +01:00
Guillaume Gomez
9d104a0cbf Clone rust repository before modifying it 2023-12-04 15:29:23 +01:00
Guillaume Gomez
c27fe3e036 Correctly handle channel in config 2023-12-04 15:29:23 +01:00
Guillaume Gomez
694a80d372 Add missing --build-sysroot option 2023-12-04 15:29:23 +01:00
Guillaume Gomez
8cc024c84d Fix invalid path in build_sysroot_inner 2023-12-04 15:29:23 +01:00
Guillaume Gomez
d3e14a49c9 Display stdout and stderr if a command failed to run 2023-12-04 15:29:23 +01:00
Guillaume Gomez
7b76ac4eb7 Rustify test.sh 2023-12-04 15:28:53 +01:00
Antoni Boucher
cc2af1fb41 Do not emit .eh_frame section when using -Cpanic=abort 2023-11-08 09:10:33 -05:00
antoyo
d4a74fba1f
Merge pull request #363 from GuillaumeGomez/test-command
Add basics for `test` command in build system
2023-10-25 18:20:42 -04:00