diff --git a/repos/dde_bsd/run/audio_in.run b/repos/dde_bsd/run/audio_in.run index 1f4d1a53c8..c62d34422f 100644 --- a/repos/dde_bsd/run/audio_in.run +++ b/repos/dde_bsd/run/audio_in.run @@ -1,14 +1,7 @@ -assert_spec x86 +assert {[have_spec x86]} -if {[have_include "power_on/qemu"]} { - puts "\nAudio_in test running on Qemu is not supported.\n" - exit 0 -} - -if {[have_spec linux]} { - puts"\nAudio_in test running on Linux is not supported.\n" - exit 0 -} +assert {![have_include power_on/qemu]} +assert {![have_spec linux]} # select use of 'Audio_in/Audio_out' or 'Record/Play' sessions proc use_record_play_sessions { } { return 1 } diff --git a/repos/dde_bsd/run/audio_out.run b/repos/dde_bsd/run/audio_out.run index 588e041f60..c45f262f3e 100644 --- a/repos/dde_bsd/run/audio_out.run +++ b/repos/dde_bsd/run/audio_out.run @@ -1,14 +1,7 @@ -assert_spec x86 +assert {[have_spec x86]} -if {[have_include "power_on/qemu"]} { - puts "\nAudio_out test running on Qemu is not supported.\n" - exit 0 -} - -if {[have_spec linux]} { - puts"\nAudio_out test running on Linux is not supported.\n" - exit 0 -} +assert {![have_include power_on/qemu]} +assert {![have_spec linux]} # select use of 'Audio_in/Audio_out' or 'Record/Play' sessions proc use_record_play_sessions { } { return 1 }