mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fix build breakage: Zenmap sometimes builds purelib, so glob was not matching.
This commit is contained in:
parent
e8911a992c
commit
87057d7c95
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ if __name__ == "__main__":
|
|||
|
||||
os.chdir("..")
|
||||
suite = unittest.defaultTestLoader.discover(
|
||||
start_dir=glob.glob("build/lib.*")[0],
|
||||
start_dir=glob.glob("build/lib*")[0],
|
||||
pattern="*.py"
|
||||
)
|
||||
unittest.TextTestRunner().run(suite)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue