dde_bsd: use 'assert'-proc in run scripts

Issue #5432
This commit is contained in:
Roman Iten 2025-02-26 13:41:35 +01:00 committed by Christian Helmuth
parent 1a7c1d69b8
commit 4f23c797e1
2 changed files with 6 additions and 20 deletions

View File

@ -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 }

View File

@ -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 }