Afonso Bordado
1f09bae6a8
Implement min/max neon intrisics
2023-11-04 19:07:13 +00:00
bjorn3
f06831441b
Remove portable-simd custom lock file
...
portable-simd has a Cargo.lock already checked in now.
2023-10-14 12:38:18 +00:00
bjorn3
abc9f0d6fb
Update rand test
...
This allows removing a patch for a test that requires unwinding support
2023-10-14 12:29:13 +00:00
bjorn3
f1ede97b14
Update portable-simd test and implement new simd_* platform intrinsics
2023-10-02 14:44:10 +00:00
bjorn3
c974bc89b8
Update regex and implement necessary AArch64 vendor intrinsics
...
Upstream has removed the shootout-regex-dna example.
2023-10-02 13:45:48 +00:00
bjorn3
cf36f4e0dc
Update rand test
2023-10-02 13:45:48 +00:00
bjorn3
68f7b826be
Use CARGO_ENCODED_RUSTFLAGS to support paths with spaces
...
Fixes #1391
2023-08-02 11:06:51 +02:00
bjorn3
e5197cf1de
Switch the build system from super:: to crate::
...
This was a left over from when build_system/main.rs was at ./y.rs.
2023-07-24 13:27:17 +00:00
bjorn3
34d63e4c1d
Use GHA log grouping
2023-07-12 16:45:42 +00:00
bjorn3
c28878d8f2
Rustup to rustc 1.73.0-nightly ( 993deaa0b
2023-07-11)
2023-07-12 14:31:00 +00:00
bjorn3
d169ee3457
Recurse into function signatures in assert_assignable
...
Fixes #1311
2023-06-19 19:30:44 +00:00
bjorn3
43064b005d
Update portable-simd
2023-06-19 17:39:38 +00:00
bjorn3
a691b14aee
Allow skipping tests from the commandline
2023-06-13 16:39:59 +00:00
bjorn3
8c1c84d79e
Copy Cargo.lock over in ./y.sh prepare
...
This makes it easier for ./x.py to vendor all dependencies
2023-06-13 16:39:59 +00:00
bjorn3
67f9fe6863
Lazily patch all test projects
2023-06-13 16:39:59 +00:00
bjorn3
b9129c0d6b
Rename a couple of build dirs for consistency
2023-06-13 16:39:59 +00:00
bjorn3
fc23a8a7e0
Lazily patch coretests
2023-06-13 16:39:59 +00:00
bjorn3
75327f8587
Reuse existing download in y.sh prepare if fresh
2023-06-13 16:39:59 +00:00
bjorn3
0e4139922e
Put patched sources in build/ instead of download/
2023-06-13 16:39:59 +00:00
bjorn3
134dc33485
Fix testing with unstable features disabled
2023-05-24 17:31:25 +00:00
bjorn3
5b3bc29008
Allow testing a cranelift backend built into rustc itself
...
This avoids building cranelift twice in rust's CI and is a lot easier
than trying to make building of codegen backends work from within a
cargo invocation done by rust's build system.
2023-05-24 17:27:28 +00:00
bjorn3
a2f720d9fe
Allow building and testing without rustup
...
This can be done by installing the nightly specified in
rust-toolchain.toml and then pointing the CARGO, RUSTC and RUSTDOC env
vars to the right executables.
2023-05-22 17:17:05 +00:00
bjorn3
521d937116
Pass --cap-lints=allow to tests
2023-05-14 12:53:00 +00:00
bjorn3
b56d4ab66b
Update portable-simd test
2023-04-25 12:32:24 +00:00
bjorn3
4ece6d0e44
Minor build perf optimization
2023-04-13 13:29:00 +00:00
bjorn3
4435686a48
Fix warnings when building the build system in rust's CI
2023-04-13 13:17:01 +00:00
bjorn3
c0f2b10e15
Skip building crates without tests for regex
...
regex-capi and regex-debug don't have any tests. Nor do they contain any
code that is useful to test with cg_clif.
2023-03-26 14:07:51 +00:00
bjorn3
5b1268d16b
Update portable-simd
...
This avoids building wasm-bindgen-test on non-wasm targets, reducing
test time.
2023-03-26 13:44:21 +00:00
bjorn3
ae0a22cb89
Update regex to fix FreeBSD tests
...
Fixes #1360
2023-03-21 14:52:03 +00:00
bjorn3
b88e129915
Avoid a duplicate "[TEST] rust-random/rand"
2023-02-26 17:37:29 +00:00
bjorn3
c615e9248a
Run tests for all crates in the regex workspace
2023-02-26 17:35:53 +00:00
bjorn3
b193419ec7
Allow multiple threads and panicking tests when testing regex
...
I guess this was a leftover from very early in the development of
cg_clif. Allowing multiple threads significantly improves performance,
while panicking tests can run now thanks to -Zpanic-abort-tests.
2023-02-26 16:50:08 +00:00
bjorn3
19ed2139a3
Remove no longer necessary code removing "[codegen mono items]" from test output
2023-02-26 14:34:36 +00:00
bjorn3
5e6cde150e
Remove --cap-lint warn from regex test
2023-02-26 14:34:36 +00:00
bjorn3
7a864c8ef5
Update test repo versions
2023-02-26 14:34:28 +00:00
bjorn3
a45a81a6a2
Patch coretests separately from the standard library source
2023-02-26 12:15:25 +00:00
bjorn3
f79601fbb0
Reduce verbosity of rand testing
2023-02-25 18:01:42 +00:00
bjorn3
26d0d255ce
Reduce verbosity of libcore testing
2023-02-25 17:48:45 +00:00
bjorn3
916a6c17df
Update portable-simd
2023-02-19 17:46:51 +00:00
bjorn3
3ba9b13490
Don't download abi-cafe and simple-raytracer in ./y.rs prepare
...
Instead download them on the fly
2023-01-27 18:44:19 +00:00
bjorn3
4dbafefe74
Return Compiler from build_sysroot
2023-01-14 14:18:11 +00:00
bjorn3
bbb7a3b9b9
Rename Compiler variables for clarity
2023-01-14 14:18:11 +00:00
bjorn3
fd1e824d88
Minor changes to the TestRunner::new signature
2023-01-14 14:18:11 +00:00
bjorn3
a09712e0d2
Use fs::remove_dir_all instead of cargo clean
2023-01-14 14:18:11 +00:00
bjorn3
957d78c479
Fetch all cargo dependencies in ./y.rs prepare
2023-01-13 15:40:22 +00:00
bjorn3
1a89507d7c
Don't use the diff command in regex test
...
The output is small enough that getting a pretty diff isn't important.
In addition this reduces the amount of commands the build system depends
on.
2023-01-13 15:29:28 +00:00
bjorn3
63fae6a164
Introduce helpers for common test case commands
2023-01-13 14:19:54 +00:00
bjorn3
bb7ab8242a
Remove a lot of redundant rustc arguments for tests
2023-01-13 12:52:29 +00:00
bjorn3
f311ef5a2e
Share cross-compilation code between building and testing
2023-01-13 12:32:20 +00:00
bjorn3
70a1cb9e62
Pass around Compiler instead of target triples
2023-01-13 12:16:11 +00:00