Skip to content

Commit

Permalink
virt: Run type script in a sequence defined by type parameter.
Browse files Browse the repository at this point in the history
Signed-off-by: Feng Yang <[email protected]>
  • Loading branch information
Feng Yang committed Jan 20, 2015
1 parent ed571b1 commit 1ed1eda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion virt.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ def run_once(self, params):
env.save()

# Run the test function
for t_type, test_module in test_modules.items():
for t_type in t_types:
test_module = test_modules[t_type]
run_func = utils_misc.get_test_entrypoint_func(
t_type, test_module)
try:
Expand Down
3 changes: 2 additions & 1 deletion virttest/standalone_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ def run_once(self):
env.save()

# Run the test function
for t_type, test_module in test_modules.items():
for t_type in t_types:
test_module = test_modules[t_type]
run_func = utils_misc.get_test_entrypoint_func(
t_type, test_module)
try:
Expand Down

0 comments on commit 1ed1eda

Please sign in to comment.