Skip to content

Commit

Permalink
[starnix] Route dev-hrtimer capability in non-hermetic tests
Browse files Browse the repository at this point in the history
Bug: b/350790769
Change-Id: Ifc85ef733a1c075544923a31dabe62a29de6faa8
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1083014
Reviewed-by: Christopher Johnson <[email protected]>
Commit-Queue: Guocheng Wei <[email protected]>
Reviewed-by: Vickie Cheng <[email protected]>
  • Loading branch information
Guocheng Wei authored and CQ Bot committed Jul 22, 2024
1 parent 45ed530 commit 8c846ad
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/sys/test_manager/meta/test_manager.core_shard.cml
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,13 @@
to: "#test_manager",
subdir: "securemem",
},
{
directory: "dev-class",
from: "parent",
as: "dev-hrtimer",
to: "#test_manager",
subdir: "hrtimer",
},

// Tests of the media system want to test against the real hardware
// TODO(https://fxbug.dev/42164198): Remove when specialized test realms are ready.
Expand Down
6 changes: 6 additions & 0 deletions src/sys/testing/meta/starnix-tests.shard.cml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@
to: [ "#starnix-tests" ],
rights: [ "r*" ],
},
{
directory: "dev-hrtimer",
from: "parent",
to: [ "#starnix-tests" ],
rights: [ "r*" ],
},
{
directory: "boot",
from: "parent",
Expand Down
7 changes: 7 additions & 0 deletions src/sys/testing/meta/test_realm.core_shard.cml
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,13 @@
to: "#testing",
subdir: "securemem",
},
{
directory: "dev-class",
from: "parent",
as: "dev-hrtimer",
to: "#testing",
subdir: "hrtimer",
},

// Tests of the media system want to test against the real hardware
// TODO(https://fxbug.dev/42164198): Remove when specialized test realms are ready.
Expand Down

0 comments on commit 8c846ad

Please sign in to comment.