Skip to content

Commit

Permalink
new CI=1 handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Qazalin committed Aug 30, 2024
1 parent 891365b commit ebc40f6
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/work_group.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,10 @@ mod test_workgroup {

#[test]
fn test_wave_value_state_vcc() {
assert!(*CI, "NOTE: this tests needs CI=1");
if *CI == false {
println!("WARN: this test needs CI=1");
return;
}
let kernel = vec![
0xBEEA00FF,
0b11111111111111111111111111111111, // initial vcc state
Expand All @@ -228,7 +231,10 @@ mod test_workgroup {

#[test]
fn test_wave_value_state_exec() {
assert!(*CI, "NOTE: this tests needs CI=1");
if *CI == false {
println!("WARN: this test needs CI=1");
return;
}
let kernel = vec![
0xBEFE00FF,
0b11111111111111111111111111111111,
Expand All @@ -245,7 +251,10 @@ mod test_workgroup {

#[test]
fn test_wave_value_sgpr_co() {
assert!(*CI, "NOTE: this tests needs CI=1");
if *CI == false {
println!("WARN: this test needs CI=1");
return;
}
let kernel = vec![
0xBE8D00FF,
0x7FFFFFFF,
Expand Down

0 comments on commit ebc40f6

Please sign in to comment.