# Process with autom4te to create an -*- Autotest -*- test suite. # AT_INIT([JobMarket]) AT_TESTED(diff grep egrep fgrep) # makes functions in CheckCommand.sh available within the tests # This is not yet working due to a bug in autotest (AC_CHECK cannot be used inside diversion) #m4_divert_push([PREPARE_TESTS]) #m4_include([CheckCommand.sh]) #m4_divert_pop([PREPARE_TESTS]) # Use colored output with new-enough Autotest. m4_ifdef([AT_COLOR_TESTS], [AT_COLOR_TESTS]) # check whether server shutdown works m4_include([testsuite-server-shutdown.at]) # check whether poolworker may succesfully enroll in pool m4_include([testsuite-enrollinpool.at]) # check whether adding jobs works m4_include([testsuite-addingjobs.at]) # check whether dead busy poolworker is automatically removed m4_include([testsuite-checkalive.at]) # check whether checking state works m4_include([testsuite-checkstate.at]) # check whether getting results works m4_include([testsuite-getresults.at]) # check whether Server/Client construct for automatized calculation is working m4_include([testsuite-server-worker.at]) # check whether resubmitting of failed jobs works m4_include([testsuite-resubmitjobs.at]) # check whether complete run works m4_include([testsuite-completerun.at]) # check whether false hostname does not shutdown server m4_include([testsuite-falsehost.at]) # check whether total number of workers is returned m4_include([testsuite-numberworkers.at])