Skip to content

Commit

Permalink
Un-ignore new tests with Rust (#935)
Browse files Browse the repository at this point in the history
Due to the way Rust is tested name overlaps between tests doesn't work,
so rename some tests to ensure they all have unique names.
  • Loading branch information
alexcrichton authored Apr 25, 2024
1 parent 3452d78 commit 5e4022f
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 16 deletions.
4 changes: 0 additions & 4 deletions crates/rust/tests/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ mod codegen_tests {
macro_rules! codegen_test {
(wasi_cli $name:tt $test:tt) => {};
(wasi_http $name:tt $test:tt) => {};
(issue929 $name:tt $test:tt) => {};
(issue929_no_import $name:tt $test:tt) => {};
(issue929_no_export $name:tt $test:tt) => {};
(issue929_only_methods $name:tt $test:tt) => {};
($id:ident $name:tt $test:tt) => {
mod $id {
wit_bindgen::generate!({
Expand Down
4 changes: 0 additions & 4 deletions crates/rust/tests/codegen_no_std.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ mod codegen_tests {
macro_rules! codegen_test {
(wasi_cli $name:tt $test:tt) => {};
(wasi_http $name:tt $test:tt) => {};
(issue929 $name:tt $test:tt) => {};
(issue929_no_import $name:tt $test:tt) => {};
(issue929_no_export $name:tt $test:tt) => {};
(issue929_only_methods $name:tt $test:tt) => {};
($id:ident $name:tt $test:tt) => {
mod $id {
wit_bindgen::generate!({
Expand Down
4 changes: 2 additions & 2 deletions tests/codegen/issue929-no-export.wit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package foo:bar;
package foo:bar1;

interface f {
resource fd;
Expand All @@ -11,4 +11,4 @@ interface utils {

world test {
export utils;
}
}
4 changes: 2 additions & 2 deletions tests/codegen/issue929-no-import.wit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package foo:bar;
package foo:bar2;

interface f {
resource fd;
Expand All @@ -12,4 +12,4 @@ interface utils {
world test {
export f;
export utils;
}
}
4 changes: 2 additions & 2 deletions tests/codegen/issue929-only-methods.wit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package foo:bar;
package foo:bar3;

interface f {
resource fd {
Expand All @@ -16,4 +16,4 @@ world test {
import f;
export f;
export utils;
}
}
4 changes: 2 additions & 2 deletions tests/codegen/issue929.wit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package foo:bar;
package foo:bar4;

interface f {
resource fd;
Expand All @@ -13,4 +13,4 @@ world test {
import f;
export f;
export utils;
}
}

0 comments on commit 5e4022f

Please sign in to comment.