mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-02 11:35:46 +00:00
performance-metrics: disable net latency test on AArch64
As ethr is not stable on AArch64, disable it until we find other tool. Signed-off-by: Jianyong Wu <jianyong.wu@arm.com> Signed-off-by: Henry Wang <Henry.Wang@arm.com>
This commit is contained in:
parent
1b494fb061
commit
8dda052c7d
@ -447,8 +447,16 @@ fn main() {
|
|||||||
)
|
)
|
||||||
.get_matches();
|
.get_matches();
|
||||||
|
|
||||||
|
// It seems that the tool (ethr) used for testing the virtio-net latency
|
||||||
|
// is not stable on AArch64, and therefore the latency test is currently
|
||||||
|
// skipped on AArch64.
|
||||||
|
let test_list: Vec<&PerformanceTest> = TEST_LIST
|
||||||
|
.iter()
|
||||||
|
.filter(|t| !(cfg!(target_arch = "aarch64") && t.name == "virtio_net_latency_us"))
|
||||||
|
.collect();
|
||||||
|
|
||||||
if cmd_arguments.is_present("list-tests") {
|
if cmd_arguments.is_present("list-tests") {
|
||||||
for test in TEST_LIST.iter() {
|
for test in test_list.iter() {
|
||||||
println!("\"{}\" ({})", test.name, test.control);
|
println!("\"{}\" ({})", test.name, test.control);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -465,7 +473,7 @@ fn main() {
|
|||||||
|
|
||||||
init_tests();
|
init_tests();
|
||||||
|
|
||||||
for test in TEST_LIST.iter() {
|
for test in test_list.iter() {
|
||||||
if test_filter.is_empty() || test_filter.iter().any(|&s| test.name.contains(s)) {
|
if test_filter.is_empty() || test_filter.iter().any(|&s| test.name.contains(s)) {
|
||||||
match run_test_with_timeout(test) {
|
match run_test_with_timeout(test) {
|
||||||
Ok(r) => {
|
Ok(r) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user