Fix tests
This commit is contained in:
parent
f1f136bb66
commit
4b628e5334
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -121,7 +121,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
./prepare_build.sh
|
./prepare_build.sh
|
||||||
${{ matrix.libgccjit_version.env_extra }} ./build.sh ${{ matrix.libgccjit_version.extra }}
|
${{ matrix.libgccjit_version.env_extra }} ./build.sh ${{ matrix.libgccjit_version.extra }}
|
||||||
cargo test ${{ matrix.libgccjit_version.extra }}
|
${{ matrix.libgccjit_version.env_extra }} cargo test ${{ matrix.libgccjit_version.extra }}
|
||||||
./clean_all.sh
|
./clean_all.sh
|
||||||
|
|
||||||
- name: Prepare dependencies
|
- name: Prepare dependencies
|
||||||
|
@ -50,6 +50,11 @@ pub fn main_inner(profile: Profile) {
|
|||||||
"-o", exe.to_str().expect("to_str"),
|
"-o", exe.to_str().expect("to_str"),
|
||||||
path.to_str().expect("to_str"),
|
path.to_str().expect("to_str"),
|
||||||
]);
|
]);
|
||||||
|
if let Some(flags) = option_env!("TEST_FLAGS") {
|
||||||
|
for flag in flags.split_whitespace() {
|
||||||
|
compiler.arg(&flag);
|
||||||
|
}
|
||||||
|
}
|
||||||
match profile {
|
match profile {
|
||||||
Profile::Debug => {}
|
Profile::Debug => {}
|
||||||
Profile::Release => {
|
Profile::Release => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user