diff options
author | Josh Spicer <joshspicer@github.com> | 2022-05-13 03:18:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-13 03:18:01 +0300 |
commit | 41a092597b186efd5c328d92c7bf6be807f75b58 (patch) | |
tree | c74ba5d45f678440ec419e1d7243affc90687aa8 | |
parent | 6b1d7f97230bde9027ca4ea5d78efc496956ce13 (diff) |
Delete gen.py
-rwxr-xr-x | gen.py | 32 |
1 files changed, 0 insertions, 32 deletions
@@ -1,32 +0,0 @@ -#!/usr/bin/env python3 - -import os - -featureDirs = os.listdir('./src') - - -count = len(featureDirs) - -for fDir in featureDirs: - if os.path.isdir('./test/' + fDir): - print('already exists: ', fDir) - continue - - os.mkdir('./test/' + fDir) - f = open(f'./test/{fDir}/test.sh', 'w') - - contents = f""" - #!/bin/bash - - set -e - - # Optional: Import test library - source dev-container-features-test-lib - - # Definition specific tests - check "version" {fDir} --version - - # Report result - reportResults""" - - f.write(contents) |