Commit 33495582 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

don't test free mem if too much mem

parent ca614355
......@@ -88,6 +88,12 @@ SKIP: {
my $freemem = _check_free_memory();
my $n_domains = int($freemem)+2;
if ($n_domains > 3 ) {
$msg = "SKIPPED test: too many domains to try in this PC";
diag($msg);
skip($msg,10);
}
$freemem =~ s/(\d+\.\d)\d+/$1/;
diag("Checking it won't start more than $n_domains domains with $freemem free memory");
......
......@@ -105,7 +105,7 @@ sub test_usb {
ok(scalar @redir == 1,"Expecting 1 redirdev, got ".scalar(@redir)
." in ".$devices->toString);
for my $model ( 'ich9-ehci1','ich9-uhci1','ich9-uhci2','ich9-uhci3') {
for my $model ( 'nec-xhci') {
my @usb = $devices->findnodes('controller');
my @usb_found;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment