-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_unittests.sh
38 lines (28 loc) · 1.12 KB
/
run_unittests.sh
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
33
34
35
36
37
#!/bin/bash
# bash run_unittest.sh -v (for verbose)
echo "Test Queues"
python -m unittest test_unittest.TestEventQueue $1
python -m unittest test_unittest.TestWaitingQueue $1
echo "---------------------------------"
echo "Test System"
python -m unittest test_unittest.TestSystem $1
echo "---------------------------------"
echo "Test Applications"
python -m unittest test_unittest.TestApplication $1
python -m unittest test_unittest.TestCheckpointing $1 > /dev/null
echo "---------------------------------"
echo "Test Basic Scheduler"
python -m unittest test_unittest.TestScheduleGaps $1
python -m unittest test_unittest.TestScheduler $1
echo "---------------------------------"
echo "Test Online Scheduler"
python -m unittest test_unittest.TestOnlineScheduler $1
echo "---------------------------------"
echo "Test Batch Scheduler"
python -m unittest test_unittest.TestBatchScheduler $1
echo "---------------------------------"
echo "Test Runtime"
python -m unittest test_unittest.TestRuntime $1 > /dev/null
echo "---------------------------------"
echo "Test Simulator"
python -m unittest test_unittest.TestSimulator $1 > /dev/null