From 41a092597b186efd5c328d92c7bf6be807f75b58 Mon Sep 17 00:00:00 2001 From: Josh Spicer Date: Thu, 12 May 2022 20:18:01 -0400 Subject: Delete gen.py --- gen.py | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100755 gen.py diff --git a/gen.py b/gen.py deleted file mode 100755 index ee4aea4..0000000 --- a/gen.py +++ /dev/null @@ -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) -- cgit v1.2.3