-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
27dbf23
commit c298a2f
Showing
12 changed files
with
84 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
riscv/tests/ui/fail_empty_macro.stderr → tests/tests/riscv/fail_empty_macro.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
riscv/tests/ui/fail_no_unsafe.stderr → tests/tests/riscv/fail_no_unsafe.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
error: expected `unsafe` | ||
--> tests/ui/fail_no_unsafe.rs:1:19 | ||
--> tests/riscv/fail_no_unsafe.rs:1:19 | ||
| | ||
1 | #[riscv::pac_enum(InterruptNumber)] | ||
| ^^^^^^^^^^^^^^^ |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
riscv/tests/ui/fail_unknown_trait.stderr → tests/tests/riscv/fail_unknown_trait.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
error: Unknown trait name. Expected: 'ExceptionNumber', 'CoreInterruptNumber', 'ExternalInterruptNumber', 'PriorityNumber', or 'HartIdNumber' | ||
--> tests/ui/fail_unknown_trait.rs:1:26 | ||
--> tests/riscv/fail_unknown_trait.rs:1:26 | ||
| | ||
1 | #[riscv::pac_enum(unsafe InterruptNumber)] | ||
| ^^^^^^^^^^^^^^^ |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
#[test] | ||
fn riscv_rt() { | ||
let t = trybuild::TestCases::new(); | ||
|
||
t.compile_fail("tests/riscv/fail_*.rs"); | ||
t.pass("tests/riscv/pass_*.rs"); | ||
|
||
t.compile_fail("tests/riscv-rt/*/fail_*.rs"); | ||
t.pass("tests/riscv-rt/*/pass_*.rs"); | ||
} |