mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
base: timer: fix crate name in ignored tests
Update the crate name in the comments describing how to run the ignored timer tests now that they've been moved into the base crate. BUG=b:213153157 TEST=cargo test -p base timer -- --ignored Change-Id: I6f8d233c7743c6d379ac4c78d20a70c82344876c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3621200 Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Noah Gold <nkgold@google.com>
This commit is contained in:
parent
7b272a4a1b
commit
df929efce3
1 changed files with 3 additions and 3 deletions
|
@ -199,7 +199,7 @@ mod tests {
|
||||||
fn one_shot() {
|
fn one_shot() {
|
||||||
// This test relies on the host having a reliable clock and not being
|
// This test relies on the host having a reliable clock and not being
|
||||||
// overloaded, so it's marked as "ignore". You can run by running
|
// overloaded, so it's marked as "ignore". You can run by running
|
||||||
// cargo test -p win_sys_util timer -- --ignored
|
// cargo test -p base timer -- --ignored
|
||||||
|
|
||||||
let mut tfd = Timer::new().expect("failed to create Timer");
|
let mut tfd = Timer::new().expect("failed to create Timer");
|
||||||
|
|
||||||
|
@ -243,7 +243,7 @@ mod tests {
|
||||||
fn repeating() {
|
fn repeating() {
|
||||||
// This test relies on the host having a reliable clock and not being
|
// This test relies on the host having a reliable clock and not being
|
||||||
// overloaded, so it's marked as "ignore". You can run by running
|
// overloaded, so it's marked as "ignore". You can run by running
|
||||||
// cargo test -p win_sys_util timer -- --ignored
|
// cargo test -p base timer -- --ignored
|
||||||
|
|
||||||
let mut tfd = Timer::new().expect("failed to create Timer");
|
let mut tfd = Timer::new().expect("failed to create Timer");
|
||||||
|
|
||||||
|
@ -335,7 +335,7 @@ mod tests {
|
||||||
fn zero_interval() {
|
fn zero_interval() {
|
||||||
// This test relies on the host having a reliable clock and not being
|
// This test relies on the host having a reliable clock and not being
|
||||||
// overloaded, so it's marked as "ignore". You can run by running
|
// overloaded, so it's marked as "ignore". You can run by running
|
||||||
// cargo test -p win_sys_util timer -- --ignored
|
// cargo test -p base timer -- --ignored
|
||||||
|
|
||||||
let mut tfd = Timer::new().expect("failed to create timer");
|
let mut tfd = Timer::new().expect("failed to create timer");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue