From e56f9839a344f743889589b802932c9e0d1dd1b2 Mon Sep 17 00:00:00 2001 From: internetlandlord Date: Fri, 21 Oct 2022 16:45:51 +0000 Subject: Created a buildtest.sh file for automatically generating hardcoded CSVs --- buildtest.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 buildtest.sh diff --git a/buildtest.sh b/buildtest.sh new file mode 100755 index 0000000..e2e6ba7 --- /dev/null +++ b/buildtest.sh @@ -0,0 +1,21 @@ +#!/bin/sh + +# Build tester +# runs the list-generator python script several times with hardcoded options +# generates three of varying sizes + +# clear out the csv directory +echo "\nCleaning up ~/csvs/..." +rm ~/csvs/* + +# smallest +./list-generator.py 100 100000 ~/csvs/hundred.csv + +# medium +./list-generator.py 1000 100000 ~/csvs/thousand.csv + +# biggest +./list-generator.py 10000 100000 ~/csvs/tenthousand.csv + +echo "\nHere are the generated lists:" +ls ~/csvs/* -- cgit v1.2.3