summaryrefslogtreecommitdiff
path: root/buildtest.sh
blob: 349ee39702e9156cb94004c3a5f250a9cf87cea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh

# Build tester
# runs the list-generator python script several times with hardcoded options
# generates three of varying sizes

#FIXME: add a if statement to check and then create a ~/csvs directory

# clear out the csv directory
echo "\nCleaning up ~/csvs/..."
rm ~/csvs/*

# smallest
./list-generator.py 100 1000 ~/csvs/hundred.csv

# medium
./list-generator.py 1000 10000 ~/csvs/thousand.csv

# biggest
./list-generator.py 10000 100000 ~/csvs/tenthousand.csv

# biggerest
./list-generator.py 100000 1000000 ~/csvs/hundthousand.csv

# biggiggerest
./list-generator.py 1000000 10000000 ~/csvs/millionaire.csv

# biggiggiggerest DO NOT UNCOMMENT
#./list-generator.py 1000000000 10000000000 ~/csvs/gigalist.csv

echo "\nHere are the generated lists:"
ls ~/csvs/*