|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 4/4] ts-xtf-*: Provide for host specs on command line
Without this, it can be hard to use in ad hoc ways.
CC: Wei Liu <wei.liu2@xxxxxxxxxx>
CC: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
ts-xtf-fep | 4 +++-
ts-xtf-run | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/ts-xtf-fep b/ts-xtf-fep
index 6f0037a..91ac3ce 100755
--- a/ts-xtf-fep
+++ b/ts-xtf-fep
@@ -22,7 +22,9 @@ use Osstest::TestSupport;
tsreadconfig();
-our $ho = selecthost('host');
+our ($whhost) = @ARGV;
+$whhost ||= 'host';
+our $ho= selecthost($whhost);
sub fep_test () {
my $output = target_cmd_output_root($ho, <<END);
diff --git a/ts-xtf-run b/ts-xtf-run
index 2e69b27..d405bfb 100755
--- a/ts-xtf-run
+++ b/ts-xtf-run
@@ -22,7 +22,9 @@ use Osstest::TestSupport;
tsreadconfig();
-our $ho = selecthost('host');
+our ($whhost) = @ARGV;
+$whhost ||= 'host';
+our $ho= selecthost($whhost);
our $runner = "/home/xtf/xtf-runner";
our @tests;
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |