From 6fc3299c0b3311fc4eed1af4cac547c59c190f2b Mon Sep 17 00:00:00 2001 From: Karl Chen Date: Wed, 18 Jun 2003 03:04:06 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=1528 --- test/Makefile.in | 3 +- test/boinc_db.py | 70 +++++++++++++++++++++++------------------------ test/db_def_to_py | 2 +- 3 files changed, 38 insertions(+), 37 deletions(-) diff --git a/test/Makefile.in b/test/Makefile.in index 30eb3095a7..d2435a7b20 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -180,7 +180,8 @@ TESTS = test_sanity.php \ # test_sticky.php EXTRA_DIST = \ *.xml *.php *wu *result *output \ - *input *.inc *.py *.in + *input *.inc *.py *.in \ + db_def_to_php db_def_to_py subdir = test ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 diff --git a/test/boinc_db.py b/test/boinc_db.py index 40c7895038..71e4b2c955 100644 --- a/test/boinc_db.py +++ b/test/boinc_db.py @@ -1,35 +1,35 @@ -# Generated by db_def_to_py on Tue Jun 17 14:33:54 PDT 2003 -MAX_BLOB_SIZE = 4096; -TEAM_TYPE_CLUB = 1; -TEAM_TYPE_COMPANY = 2; -TEAM_TYPE_PRIMARY = 3; -TEAM_TYPE_SECONDARY = 4; -TEAM_TYPE_JUNIOR_COLLEGE = 5; -TEAM_TYPE_UNIVERSITY = 6; -TEAM_TYPE_GOVERNMENT = 7; -FILE_DELETE_INIT = 0; -FILE_DELETE_READY = 1; -FILE_DELETE_DONE = 2; -ASSIMILATE_INIT = 0; -ASSIMILATE_READY = 1; -ASSIMILATE_DONE = 2; -WU_ERROR_COULDNT_SEND_RESULT = 1; -WU_ERROR_TOO_MANY_ERROR_RESULTS = 2; -WU_ERROR_TOO_MANY_RESULTS = 4; -RESULT_SERVER_STATE_INACTIVE = 1; -RESULT_SERVER_STATE_UNSENT = 2; -RESULT_SERVER_STATE_UNSENT_SEQ = 3; -RESULT_SERVER_STATE_IN_PROGRESS = 4; -RESULT_SERVER_STATE_OVER = 5; -RESULT_OUTCOME_INIT = 0; -RESULT_OUTCOME_SUCCESS = 1; -RESULT_OUTCOME_COULDNT_SEND = 2; -RESULT_OUTCOME_CLIENT_ERROR = 3; -RESULT_OUTCOME_NO_REPLY = 4; -RESULT_OUTCOME_DIDNT_NEED = 5; -VALIDATE_STATE_INIT = 0; -VALIDATE_STATE_VALID = 1; -VALIDATE_STATE_INVALID = 2; -WORKSEQ_STATE_UNASSIGNED = 0; -WORKSEQ_STATE_ASSIGNED = 1; -WORKSEQ_STATE_DONE = 2; +# Generated by db_def_to_py on Tue Jun 17 20:03:34 PDT 2003 +MAX_BLOB_SIZE = 4096 +TEAM_TYPE_CLUB = 1 +TEAM_TYPE_COMPANY = 2 +TEAM_TYPE_PRIMARY = 3 +TEAM_TYPE_SECONDARY = 4 +TEAM_TYPE_JUNIOR_COLLEGE = 5 +TEAM_TYPE_UNIVERSITY = 6 +TEAM_TYPE_GOVERNMENT = 7 +FILE_DELETE_INIT = 0 +FILE_DELETE_READY = 1 +FILE_DELETE_DONE = 2 +ASSIMILATE_INIT = 0 +ASSIMILATE_READY = 1 +ASSIMILATE_DONE = 2 +WU_ERROR_COULDNT_SEND_RESULT = 1 +WU_ERROR_TOO_MANY_ERROR_RESULTS = 2 +WU_ERROR_TOO_MANY_RESULTS = 4 +RESULT_SERVER_STATE_INACTIVE = 1 +RESULT_SERVER_STATE_UNSENT = 2 +RESULT_SERVER_STATE_UNSENT_SEQ = 3 +RESULT_SERVER_STATE_IN_PROGRESS = 4 +RESULT_SERVER_STATE_OVER = 5 +RESULT_OUTCOME_INIT = 0 +RESULT_OUTCOME_SUCCESS = 1 +RESULT_OUTCOME_COULDNT_SEND = 2 +RESULT_OUTCOME_CLIENT_ERROR = 3 +RESULT_OUTCOME_NO_REPLY = 4 +RESULT_OUTCOME_DIDNT_NEED = 5 +VALIDATE_STATE_INIT = 0 +VALIDATE_STATE_VALID = 1 +VALIDATE_STATE_INVALID = 2 +WORKSEQ_STATE_UNASSIGNED = 0 +WORKSEQ_STATE_ASSIGNED = 1 +WORKSEQ_STATE_DONE = 2 diff --git a/test/db_def_to_py b/test/db_def_to_py index d4c613a28c..5f90478589 100755 --- a/test/db_def_to_py +++ b/test/db_def_to_py @@ -11,6 +11,6 @@ system('date'); while (<>) { if (/^\s*#define\s+([^\s]+)\s+([0-9]+)\s*$/) { - print qq/$1 = $2;\n/; + print qq/$1 = $2\n/; } }