[363f28] | 1 | # Process with autom4te to create an -*- Autotest -*- test suite.
|
---|
| 2 | #
|
---|
| 3 |
|
---|
| 4 | AT_INIT([JobMarket])
|
---|
| 5 | AT_TESTED(diff grep egrep fgrep)
|
---|
| 6 |
|
---|
| 7 | # makes functions in CheckCommand.sh available within the tests
|
---|
| 8 | # This is not yet working due to a bug in autotest (AC_CHECK cannot be used inside diversion)
|
---|
| 9 | #m4_divert_push([PREPARE_TESTS])
|
---|
| 10 | #m4_include([CheckCommand.sh])
|
---|
| 11 | #m4_divert_pop([PREPARE_TESTS])
|
---|
| 12 |
|
---|
| 13 | # Use colored output with new-enough Autotest.
|
---|
| 14 | m4_ifdef([AT_COLOR_TESTS], [AT_COLOR_TESTS])
|
---|
| 15 |
|
---|
| 16 | # check whether server shutdown works
|
---|
| 17 | m4_include([testsuite-server-shutdown.at])
|
---|
| 18 |
|
---|
| 19 | # check whether poolworker may succesfully enroll in pool
|
---|
| 20 | m4_include([testsuite-enrollinpool.at])
|
---|
| 21 |
|
---|
| 22 | # check whether adding jobs works
|
---|
| 23 | m4_include([testsuite-addingjobs.at])
|
---|
| 24 |
|
---|
| 25 | # check whether dead busy poolworker is automatically removed
|
---|
| 26 | m4_include([testsuite-checkalive.at])
|
---|
| 27 |
|
---|
| 28 | # check whether checking state works
|
---|
| 29 | m4_include([testsuite-checkstate.at])
|
---|
| 30 |
|
---|
| 31 | # check whether getting results works
|
---|
| 32 | m4_include([testsuite-getresults.at])
|
---|
| 33 |
|
---|
| 34 | # check whether Server/Client construct for automatized calculation is working
|
---|
| 35 | m4_include([testsuite-server-worker.at])
|
---|
| 36 |
|
---|
| 37 | # check whether resubmitting of failed jobs works
|
---|
| 38 | m4_include([testsuite-resubmitjobs.at])
|
---|
| 39 |
|
---|
| 40 | # check whether complete run works
|
---|
| 41 | m4_include([testsuite-completerun.at])
|
---|
[c300e2] | 42 |
|
---|
| 43 | # check whether false hostname does not shutdown server
|
---|
| 44 | m4_include([testsuite-falsehost.at])
|
---|