mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 03:57:24 +00:00
devices: enable tests for audio on windows
BUG=b:213149155 BUG=b:150630566 BUG=b:236297362 TEST=tools/presubmit Change-Id: I4619a5c9f1ff8b5ce00b4c7b7c4f5b19cff42471 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4006817 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Vikram Auradkar <auradkar@google.com>
This commit is contained in:
parent
638694c979
commit
befb1ccaa9
3 changed files with 4 additions and 2 deletions
|
@ -315,7 +315,7 @@ all-armhf = [
|
|||
]
|
||||
|
||||
## All features that are compiled and tested for mingw64
|
||||
all-mingw64 = [ "balloon", "crash_report", "gpu", "haxm", "slirp", "stats" ]
|
||||
all-mingw64 = [ "audio", "balloon", "crash_report", "gpu", "haxm", "slirp", "stats" ]
|
||||
|
||||
## All features that are compiled and tested for msvc64
|
||||
all-msvc64 = [ "all-mingw64" ]
|
||||
|
|
|
@ -290,7 +290,7 @@ impl Drop for Ac97BusMaster {
|
|||
fn drop(&mut self) {
|
||||
if let Some(exit_event) = &self.sys.exit_event {
|
||||
exit_event
|
||||
.write(1)
|
||||
.signal()
|
||||
.expect("Failed to write to exit_event in Ac97BusMaster");
|
||||
}
|
||||
|
||||
|
|
|
@ -333,6 +333,8 @@ impl StreamInfo {
|
|||
}
|
||||
}
|
||||
|
||||
// TODO(b/246997900): Get these new tests to run on Windows.
|
||||
#[cfg(unix)]
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use audio_streams::NoopStreamSourceGenerator;
|
||||
|
|
Loading…
Reference in a new issue