Commit Graph

74 Commits

Author SHA1 Message Date
Guillaume Gomez
a883c6da20 Move crates_patches and cross_patches into the patches folder 2024-02-14 13:35:20 +01:00
Guillaume Gomez
896b1a9049 Generate libgccjit.so into the build folder 2024-02-13 22:11:31 +01:00
Guillaume Gomez
267aaef81d Move some top-level folders into build 2024-02-13 22:11:31 +01:00
Antoni Boucher
5d5137cebc Rework the download function to only contain the platform-specific code 2024-02-12 21:20:12 -04:00
Guillaume Gomez
b80a99922b Improve code readability and add more code comments 2024-02-13 15:43:42 +01:00
Guillaume Gomez
1096b1b8db Add more explanation on what cg_gcc_path is used for and improve help message for --cg_gcc-path 2024-02-13 15:43:42 +01:00
Guillaume Gomez
2bcc73540c Don't join config file path if provided through --config-file option 2024-02-13 15:43:42 +01:00
Guillaume Gomez
5c6cdf5ab6 Add info command to help get some information 2024-02-13 15:43:42 +01:00
Guillaume Gomez
0a4b0af141 Generate symbolic link to libgccjit.so as well 2024-02-13 15:43:42 +01:00
Guillaume Gomez
eee04a48d9 Add support for "download" 2024-02-13 15:43:42 +01:00
Guillaume Gomez
588db24344 Correctly handle --use-system-gcc 2024-02-12 14:42:37 +01:00
Guillaume Gomez
de9d1b63b4 Add --config-file option to override default location of config.toml 2024-02-11 23:15:50 +01:00
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