mirror of
https://github.com/xxh/xxh
synced 2024-11-22 20:03:18 +00:00
11 lines
550 B
Python
Executable file
11 lines
550 B
Python
Executable file
#!/usr/bin/env xonsh
|
|
|
|
import os, sys, argparse
|
|
|
|
argp = argparse.ArgumentParser(description=f"Fast testing without rebuilding.")
|
|
argp.add_argument('-sr', '--skip-repos-update', default=True, action='store_true', help="Skip repos update before test running.")
|
|
argp.add_argument('-s', '--shell', default='xxh-shell-xonsh', help="Shells to test")
|
|
argp.add_argument('-H', '--hosts', default='ubuntu_k', help="Comma separated hosts list")
|
|
opt = argp.parse_args()
|
|
|
|
./xde test @(['-sr'] if opt.skip_repos_update else []) --hosts @(opt.hosts) -s @(opt.shell)
|