From 022af85ed1ecd48fb80fa88916829142964dcdf9 Mon Sep 17 00:00:00 2001 From: tchernobog Date: Fri, 24 Feb 2006 16:36:13 +0000 Subject: [PATCH] - Install tests (will need to be set as a conditional at some point in the future) git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@451 3ecf2c5c-341e-0410-92b4-d18e462d057c --- Makefile.am | 3 +- po/sgpemv2.pot | 88 ++++++++++++++++++++++++++++++++++---------------- 2 files changed, 62 insertions(+), 29 deletions(-) diff --git a/Makefile.am b/Makefile.am index 1b956ce..995ce8c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,6 +30,7 @@ sharedir = $(pkgdatadir) pycdir = $(sharedir)/policies moddir = $(sharedir)/modules localedir = @datadir@/locale +testsdir = $(pkgdatadir)/tests # ############################################################ # @@ -316,7 +317,7 @@ pyc_PYTHON = \ # DEJATOOL = src/testsuite/example-test.exp -noinst_PROGRAMS = src/testsuite/test-python_loader +tests_PROGRAMS = src/testsuite/test-python_loader # Shouldn't need Gtkmm! This is a coding anomaly src_testsuite_test_python_loader_CPPFLAGS = \ diff --git a/po/sgpemv2.pot b/po/sgpemv2.pot index a479e1b..16e6e93 100644 --- a/po/sgpemv2.pot +++ b/po/sgpemv2.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: matteo@member.fsf.org\n" -"POT-Creation-Date: 2006-02-18 00:33+0100\n" +"POT-Creation-Date: 2006-02-24 13:27+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -36,26 +36,45 @@ msgstr "" msgid "Exit" msgstr "" -#: src/graphical_terminal_io.cc:38 +#: src/graphical_terminal_io.cc:44 msgid "Textual Simulation Log" msgstr "" -#: src/text_simulation.cc:94 +#: src/graphical_terminal_io.cc:60 +msgid "Send Command" +msgstr "" + +#: src/backend/scheduler.cc:86 +msgid "" +"\n" +"No initial state inserted!!\n" +msgstr "" + +#: src/text_simulation.cc:103 msgid "" "\n" "-- RUN COMMAND --\n" -"Starts the simulation. It can be continuous or step-by-step depending the " -"mode configured with SetMode (default=continuous)" +"Starts the simulation. It can be continuous or step-by-step depending on the " +"mode configured with SetMode (default=continuous).\n" +"\n" +"The output of RUN is one or more rows each of which represents the state of " +"the schedulable entities. It can be RUNNING, READY, BLOCKED, FUTURE or " +"TERMINATED.\n" +"The row begins with the number of the instant described by the following " +"lists of states. The instant 0 represents the INITIAL STATE during which no " +"process is running. The scheduler activity begins at instant 1. Each " +"schedulable entity is represented by its name followed by its priority " +"enclosed between round parenthesis." msgstr "" -#: src/text_simulation.cc:105 +#: src/text_simulation.cc:120 msgid "" "\n" "-- PAUSE COMMAND --\n" "Pauses the simulation. The next call to RUN will restart it." msgstr "" -#: src/text_simulation.cc:115 +#: src/text_simulation.cc:130 msgid "" "\n" "-- STOP COMMAND --\n" @@ -63,21 +82,21 @@ msgid "" "FIRST instant and start it." msgstr "" -#: src/text_simulation.cc:126 +#: src/text_simulation.cc:141 msgid "" "\n" "-- RESET COMMAND --\n" "Resets the simulation jumping back to the first instant." msgstr "" -#: src/text_simulation.cc:137 +#: src/text_simulation.cc:151 msgid "" "\n" "-- QUIT COMMAND --\n" "Exits the program." msgstr "" -#: src/text_simulation.cc:140 +#: src/text_simulation.cc:154 msgid "" "\n" "\n" @@ -85,14 +104,15 @@ msgid "" "\n" msgstr "" -#: src/text_simulation.cc:148 +#: src/text_simulation.cc:162 msgid "" "\n" -"-- YOU ARE JOKING ME --\n" -"You're really too dummy!!!\n" +"-- Do you really want me to explain what HELP means? --\n" +" ************** YOU ARE JOKING ME !!! ************\n" +"\n" msgstr "" -#: src/text_simulation.cc:169 +#: src/text_simulation.cc:184 msgid "" "\n" "-- SetMode COMMAND --\n" @@ -108,20 +128,20 @@ msgid "" "animation\n" msgstr "" -#: src/text_simulation.cc:176 +#: src/text_simulation.cc:191 msgid "" "\n" "ERROR: wrong number of parameters.\n" "Type HELP SETMODE for the description of the sintax" msgstr "" -#: src/text_simulation.cc:185 +#: src/text_simulation.cc:200 msgid "" "\n" "ERROR: the second parameter can be only CONTINUOUS or STEP" msgstr "" -#: src/text_simulation.cc:193 +#: src/text_simulation.cc:208 msgid "" "\n" "-- GetMode COMMAND --\n" @@ -130,19 +150,19 @@ msgid "" "\tSTEP : if if the simulation is shown step-by-step" msgstr "" -#: src/text_simulation.cc:198 +#: src/text_simulation.cc:213 msgid "" "\n" "CONTINUOUS" msgstr "" -#: src/text_simulation.cc:200 +#: src/text_simulation.cc:215 msgid "" "\n" "STEP" msgstr "" -#: src/text_simulation.cc:207 +#: src/text_simulation.cc:222 msgid "" "\n" "-- SetTimer COMMAND --\n" @@ -153,21 +173,21 @@ msgid "" "\t must be an integer value > 0 and < 10000.\n" msgstr "" -#: src/text_simulation.cc:213 +#: src/text_simulation.cc:228 msgid "" "\n" "ERROR: wrong number of parameters.\n" "Type HELP SETTIMER for the description of the sintax" msgstr "" -#: src/text_simulation.cc:222 +#: src/text_simulation.cc:237 msgid "" "\n" "ERROR: the second parameter has a wrong value.\n" "Type HELP SETTIMER for the description of the sintax" msgstr "" -#: src/text_simulation.cc:230 +#: src/text_simulation.cc:245 msgid "" "\n" "-- GetTimer COMMAND --\n" @@ -175,7 +195,7 @@ msgid "" "waits between a step and the following one" msgstr "" -#: src/text_simulation.cc:243 +#: src/text_simulation.cc:258 msgid "" "\n" "-- JumpTo COMMAND --\n" @@ -186,28 +206,28 @@ msgid "" "\t must be an integer value >= 0" msgstr "" -#: src/text_simulation.cc:250 +#: src/text_simulation.cc:265 msgid "" "\n" "ERROR: wrong number of parameters.\n" "Type HELP JUMPTO for the description of the sintax" msgstr "" -#: src/text_simulation.cc:259 +#: src/text_simulation.cc:274 msgid "" "\n" "ERROR: the second parameter has a wrong value.\n" "Type HELP JUMPTO for the description of the sintax" msgstr "" -#: src/text_simulation.cc:267 +#: src/text_simulation.cc:282 msgid "" "\n" "-- GetPolicy COMMAND --\n" "Returns the name and the description of the current applied policy." msgstr "" -#: src/text_simulation.cc:277 +#: src/text_simulation.cc:292 msgid "" "\n" "-- GetPolicyAttributes COMMAND --\n" @@ -218,3 +238,15 @@ msgid "" "\tits LOWER and UPPER bounds\n" "\twhether the parameter is REQUIRED" msgstr "" + +#: src/text_simulation.cc:354 +msgid "" +"\n" +"Command not recognized: " +msgstr "" + +#: src/text_simulation.cc:356 +msgid "" +"\n" +"Typer HELP for a list of avaiable commands." +msgstr ""