34 Commits

Author SHA1 Message Date
Trevor Gross
a68516ed6a Rename the musl-bitwise-tests feature to test-musl-serialized
We will have more test features in the near future, and it would be nice
for them all to have a common `test-` prefix. Reverse the existing
feature so this is the case.
2024-10-25 20:57:19 -04:00
Trevor Gross
d82eb88722 Fix shellcheck warnings in scripts 2024-10-06 13:44:25 -05:00
Trevor Gross
d0f1dd6010 Set target-specific AR and CC arguments
The Rust `cc` crate reads these, so make sure they are set for when we
start making use of `cc`.
2024-10-06 00:18:00 -05:00
Trevor Gross
0be441d5ad Update Ubuntu images to 24.04
We don't have any specific reason to stay on 18.04, so upgrade to the
latest LTS version.
2024-10-06 00:10:12 -05:00
Trevor Gross
c236051681 Rename the musl-reference-tests feature to musl-bitwise-tests
The plan is to add more test related features that could be considered
"reference tests". Rename the feature here to avoid future confusion.
2024-10-05 21:42:28 -05:00
Trevor Gross
f59dd82cca Move musl-reference-tests to a new libm-test crate
There isn't any reason for this feature to be exposed or part of the
build script. Move it to a separate crate.

We will also want more tests that require some support functions; this
will create a place for them.
2024-10-05 15:54:39 -05:00
Trevor Gross
c7eadedd5f Deny warnings in CI
The main crate already has `#![deny(warnings)]`. Set RUSTFLAGS in CI to
enforce this for other crates in the workspace.
2024-05-06 04:51:41 -05:00
Amanieu d'Antras
4f5d1524fd Fix no-panic 2022-01-03 21:32:08 +01:00
Amanieu d'Antras
e36ee3b4b7 Disable powerpc64 tests which were broken by the LLVM 13 upgrade 2022-01-03 19:00:31 +01:00
Alex Crichton
fda4a8992f Migrate from azure pipelines to Github actions (#226)
Should make user management easier and also helps follow the repository
when it's renamed.
2019-09-10 10:07:17 -05:00
Lokathor
de3480c3c2 Update run.sh 2019-09-05 08:36:08 -06:00
Lokathor
2e3ba17f9d there are no longer any default features 2019-09-05 08:32:05 -06:00
gnzlbg
53c6687ef5 Move benchmarks into its own crate 2019-07-02 08:22:03 +02:00
Alex Crichton
f9b3247165 Update Rust install task 2019-06-13 09:21:50 -07:00
Alex Crichton
13a350ca5d Attempt to fix CI 2019-06-05 12:17:01 -07:00
Benjamin Schultzer
c6b403f5a9 Run musl test in debug mode 2019-05-16 17:09:33 -07:00
Alex Crichton
c4468281d4 More azure config fixes 2019-05-02 12:05:02 -07:00
Alex Crichton
9cf8475f2f Fix azure config 2019-05-02 11:41:20 -07:00
Alex Crichton
8d79795d70 Overhaul tests
* Move everything to azure pipelines
* Inline docker configuration in this repo (no `cross`)
* Delete `no-panic` example, use `#[no_panic]` instead.
2019-05-02 11:37:21 -07:00
Alex Crichton
ae69253dc7 Move crates to crates folder 2019-05-02 08:12:00 -07:00
Jorge Aparicio
527eefef9c tweak the order of the tests 2018-07-27 00:38:56 -05:00
Jorge Aparicio
99da9ff292 make qemu-arm executable 2018-07-27 00:21:54 -05:00
Jorge Aparicio
c626608e41 add newlib support to the test generator 2018-07-27 00:11:06 -05:00
Jorge Aparicio
47e65384f2 ci: fix if condition 2018-07-25 15:02:10 -05:00
Jorge Aparicio
657906b30c ci: add nightly build job to rnu the no-panic test 2018-07-25 14:48:49 -05:00
Jorge Aparicio
6454687134 omit bounds check in release mode
this eliminates panicking branches in the optimized version of the functions. We keep the bounds
checks when running the test suite to check that we never do an out of bounds access.

This commit also adds a "must link" test that ensures that future changes in our implementation
won't add panicking branches.

closes rust-lang/libm#129
2018-07-25 13:16:10 -05:00
Jorge Aparicio
99830bac40 test edge cases 2018-07-16 13:03:40 -05:00
Jorge Aparicio
ea8d02ae0f make cargo fmt in ci/script.sh optional 2018-07-13 22:15:21 -05:00
Jorge Aparicio
131cc1ac44 run cargo fmt -- --check on beta 2018-07-13 22:10:08 -05:00
Jorge Aparicio
6e6642b48c force PR code to be formatted 2018-07-13 21:54:24 -05:00
Jorge Aparicio
f556a9bbb4 test source importing this crate 2018-07-12 20:19:42 -05:00
Jorge Aparicio
b30af240ad add comment about issue rust-lang/libm#4 2018-07-12 13:34:28 -05:00
Jorge Aparicio
27c88ea01b add CI 2018-07-12 01:17:08 -05:00
Jorge Aparicio
8e271704ef initial commit 2018-07-12 00:44:28 -05:00