summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-12-27 08:17:45 +0200
committerLars Wirzenius <liw@liw.fi>2023-12-27 08:17:45 +0200
commite10866211a6781d35f5b402a7e45167c9e69ec5a (patch)
tree51d86d84e0e50ff739b206d7c0a00f21e55d89fa
downloadwumpus-hunter-e10866211a6781d35f5b402a7e45167c9e69ec5a.tar.gz
first commit
Signed-off-by: Lars Wirzenius <liw@liw.fi>
-rw-r--r--README.md2
-rwxr-xr-xwumpus-hunter24
2 files changed, 26 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..dac9b79
--- /dev/null
+++ b/README.md
@@ -0,0 +1,2 @@
+# wumpus-hunter - run test repeatedly to find flaky tests
+
diff --git a/wumpus-hunter b/wumpus-hunter
new file mode 100755
index 0000000..306d823
--- /dev/null
+++ b/wumpus-hunter
@@ -0,0 +1,24 @@
+#!/usr/bin/python3
+
+import argparse
+
+
+HEARTWOOD_URL = "https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git"
+HEARTWOOD_REF = "master"
+
+
+def parse_args():
+ p = argparse.ArgumentParser()
+ p.add_argument(
+ "--url", default=HEARTWOOD_URL, help="URL for git repository to test"
+ )
+ p.add_argument("--ref", default=HEARTWOOD_REF, help="Ref to test")
+ return p.parse_args()
+
+
+def main():
+ args = parse_args()
+ print(args)
+
+
+main()