/[eiffelstudio]/branches/eth/eve/Src/library/testing_eweasel/source
ViewVC logotype

Log of /branches/eth/eve/Src/library/testing_eweasel/source

View Directory Listing Directory Listing


Sticky Revision:

Revision 92684 - Directory Listing
Modified Fri Jun 7 15:28:53 2013 UTC (6 years, 7 months ago) by jasonw
<<Merged from trunk#92682.>>

Revision 91201 - Directory Listing
Modified Fri Feb 8 09:03:47 2013 UTC (6 years, 11 months ago) by jasonw
<<Merged from trunk#91200.>>

Revision 90750 - Directory Listing
Modified Mon Jan 21 13:30:30 2013 UTC (6 years, 11 months ago) by jasonw
<<Merged from trunk#90747.>>

Revision 88026 - Directory Listing
Modified Fri Nov 25 12:11:03 2011 UTC (8 years, 1 month ago) by jasonw
<<Merged from trunk#88024.>>

Revision 84557 - Directory Listing
Modified Mon Oct 11 21:01:52 2010 UTC (9 years, 3 months ago) by jasonw
<<Merged from trunk#84547.>>


Revision 84470 - Directory Listing
Modified Fri Oct 1 14:01:07 2010 UTC (9 years, 3 months ago) by jasonw
<<Merged from trunk#84468.>>


Revision 83826 - Directory Listing
Modified Wed Jul 7 11:33:55 2010 UTC (9 years, 6 months ago) by mpei
<<Merged from trunk#83825>>

Revision 83740 - Directory Listing
Modified Tue Jun 29 10:47:08 2010 UTC (9 years, 6 months ago) by julian
<<Merged from trunk#83736.>>

Revision 83594 - Directory Listing
Modified Thu Jun 17 09:23:33 2010 UTC (9 years, 7 months ago) by julian
<<Merged from trunk#83593.>>

Revision 83445 - Directory Listing
Modified Sat Jun 5 15:29:40 2010 UTC (9 years, 7 months ago) by jasonw
<<Merged from trunk@83442.>>

Revision 83441 - Directory Listing
Modified Sat Jun 5 13:52:53 2010 UTC (9 years, 7 months ago) by jasonw
Renamed branch eve3 to eve. The eve branch serves as the new branch for the EVE project.

Revision 83331 - Directory Listing
Modified Wed May 26 18:49:35 2010 UTC (9 years, 7 months ago) by jasonw
Original Path: branches/eth/eve3/Src/library/testing_eweasel/source
<<Breanched from trunk@83330>> Created a branch to upgrade Eiffel Transform library to trunk.

Revision 82581 - Directory Listing
Modified Tue Mar 16 03:07:44 2010 UTC (9 years, 10 months ago) by manus
Original Path: trunk/Src/library/testing_eweasel/source
Moved the experimental branch to be the default for libraries.


Revision 82016 - Directory Listing
Modified Thu Jan 7 10:36:22 2010 UTC (10 years ago) by larryl
Original Path: trunk/Src/experimental/library/testing_eweasel/source
Testing library extension for Eweasel system level test

Users can inherit {EQA_EW_SYSTEM_TEST_SET} (and using testing instructions from {EQA_EW_SYSTEM_TEST_INSTRUCTIONS}) to create Eweasel system test cases which can be executed by AutoTest Tool

The logs of AutoTest Eweasel development are here:
http://github.com/larryliuming/System-Level-Tesing-APIs

Revision 81996 - Directory Listing
Modified Wed Jan 6 08:48:17 2010 UTC (10 years ago) by larryl
Original Path: trunk/Src/experimental/library/testing_eweasel/source
Copied Eweasel files from
https://svn.eiffel.com/eiffelstudio/trunk/eweasel
to
https://svn.eiffel.com/eiffelstudio/trunk/Src/experimental/library/testing_eweasel

So the Eweasel record will be remembered. Later I (larry) will remove the files in `testing_eweasel' folder and fill the folder with new eweasel files (can be used in AutoTest Tool) which is base on Testing library.



Revision 81925 - Directory Listing
Modified Thu Dec 24 00:37:05 2009 UTC (10 years ago) by manus
Original Path: trunk/eweasel/source
Removed obsolete calls to `get_current_id' and replace them with `current_thread_id'.


Revision 81906 - Directory Listing
Modified Wed Dec 23 17:21:09 2009 UTC (10 years ago) by manus
Original Path: trunk/eweasel/source
Fixed an bug in the MT version of eweasel on Windows where if you call `terminate' and then `abort' (e.g. test#exec247) then the code in `abort' will close again the same handle. In ST mode it worked fine because the call to `cwin_exit_code_process' in `abort' with the old handle will return False, but in MT mode after we called `terminate', we could have spawned a new process and because windows reuse handles, the handles we just closed are now valid then `abort' can proceed and close the new handle, not the old one. Now we have protected the code by resetting the handle to NULL when we close them.


Revision 81905 - Directory Listing
Modified Wed Dec 23 17:17:22 2009 UTC (10 years ago) by manus
Original Path: trunk/eweasel/source
Cosmetics.


Revision 81890 - Directory Listing
Modified Tue Dec 22 22:38:15 2009 UTC (10 years ago) by manus
Original Path: trunk/eweasel/source
Fixed precondition violation in {DIRECTORY}.recursive_delete because the directory might not exist anymore (this is the case when in the tcf you have `abort_compile' followed by `cleanup_compile' (e.g test#exec247)).


Revision 81889 - Directory Listing
Modified Tue Dec 22 22:37:06 2009 UTC (10 years ago) by manus
Original Path: trunk/eweasel/source
Fixed a precontion violation in `queue.forth' because we might call `queue.remove' on the last element and therefore we will be after.


Revision 80295 - Directory Listing
Modified Mon Aug 17 04:48:51 2009 UTC (10 years, 5 months ago) by manus
Original Path: trunk/eweasel/source
Made it compile with the latest changes in the testing library.


Revision 79731 - Directory Listing
Modified Sat Jul 11 12:28:28 2009 UTC (10 years, 6 months ago) by fivaa
Original Path: trunk/eweasel/source
Moved Eweasel setup routine into test set ancestor since it is the same for every converted test.


Revision 78737 - Directory Listing
Modified Mon May 18 05:01:17 2009 UTC (10 years, 8 months ago) by larryl
Original Path: trunk/eweasel/source
Adapted for new eweasel command `copy_file' (see revision#78075), now the results of running `melt091' in Testing tool or command console are same.

Revision 78707 - Directory Listing
Modified Fri May 15 16:57:13 2009 UTC (10 years, 8 months ago) by dhollen
Original Path: trunk/eweasel/source
Fixed eweasel bug where actual validity errors or syntax errors displayed when
a test failed were sometimes not sorted correctly.


Revision 78671 - Directory Listing
Modified Wed May 13 17:14:28 2009 UTC (10 years, 8 months ago) by dhollen
Original Path: trunk/eweasel/source
Updated eweasel source code and config file to use standard syntax.


Revision 78542 - Directory Listing
Modified Thu May 7 11:58:49 2009 UTC (10 years, 8 months ago) by larryl
Original Path: trunk/eweasel/source
Adapted converter for new keyword `copy_file'

Revision 78540 - Directory Listing
Modified Thu May 7 11:51:25 2009 UTC (10 years, 8 months ago) by larryl
Original Path: trunk/eweasel/source
Made eweasel convert work on Unix platforms. When convert all tcfs, sort all items in {DIRECTORY}. Otherwise, on Windows, items in `l_dir' is alphabetical, but not case for Unix platforms. Un-sorted list will cause eweasel converter contain only one test case in one generated Eiffel class.

Adapted converter to convert new keyword `copy_file'

Revision 78452 - Directory Listing
Modified Thu Apr 30 08:38:36 2009 UTC (10 years, 8 months ago) by larryl
Original Path: trunk/eweasel/source
Query and set $ISE_PLAFORM automatically, so test cases can be run on Linux 32bits also

Revision 78346 - Directory Listing
Modified Thu Apr 23 19:56:28 2009 UTC (10 years, 8 months ago) by dhollen
Original Path: trunk/eweasel/source
Replace calls to `putstring' by `put_string' and similarly for other
routines that used an old name without an underscore.


Revision 78303 - Directory Listing
Modified Fri Apr 17 23:04:56 2009 UTC (10 years, 9 months ago) by dhollen
Original Path: trunk/eweasel/source
Changed how eweasel handles missing test_end instructions and missing newline
at end of file in a test control file.

Old behavior:  Missing newline at EOF was allowed but any instruction on that
line was not read.  A missing test_end instruction was allowed but the test
for this condition didn't allow the test_end to be anywhere except the last
line of the file.

New behavior:  A missing test_end instruction is an error.  A test_end instruction
anywhere in the file is allowed - test_end does not have to be the last instruction.
A missing newline at EOF is an error, but any instruction on the last partial line
will be processed before the error is reported.


Revision 78265 - Directory Listing
Modified Thu Apr 16 03:47:27 2009 UTC (10 years, 9 months ago) by larryl
Original Path: trunk/eweasel/source
Made test cases can be run in Windows 64btis also

Revision 78252 - Directory Listing
Modified Wed Apr 15 17:49:44 2009 UTC (10 years, 9 months ago) by alexk
Original Path: trunk/eweasel/source
Ensured that a nul file is represented by a non-void string as otherwise an access on void target occurs in {EW_EXECUTE_INST}.execute on test#exec021.

Revision 78075 - Directory Listing
Modified Sun Apr 5 04:47:14 2009 UTC (10 years, 9 months ago) by manus
Original Path: trunk/eweasel/source
Added new instructions `copy_file' which is similar to `copy_bin' except that it lets you copy file
  from anywhere to anywhere.


Revision 78074 - Directory Listing
Modified Sun Apr 5 04:43:32 2009 UTC (10 years, 9 months ago) by manus
Original Path: trunk/eweasel/source
Cosmetics: removed semicolons.


Revision 77885 - Directory Listing
Modified Wed Mar 25 13:23:50 2009 UTC (10 years, 9 months ago) by larryl
Original Path: trunk/eweasel/source
Use PLAIN_TEXT_FILE instead of RAW_FILE, so eweasel converter tool generate Eiffel classes without ^M

Revision 77701 - Directory Listing
Modified Wed Mar 11 22:59:57 2009 UTC (10 years, 10 months ago) by dhollen
Original Path: trunk/eweasel/source
Fixed bug in eweasel that caused it to crash if the input file for
an execute_work or execute_final instruction did not exist.  Now it 
reports that the input file does not exist and the test fails.


Revision 77689 - Directory Listing
Modified Wed Mar 11 00:26:10 2009 UTC (10 years, 10 months ago) by manus
Original Path: trunk/eweasel/source
Added a protection to not create `in_file' if the input file does not exist as if you do in a tcf file
  `execute_final whatever output' and that `whatever' does not exist, it simply terminates eweasel
  which is not good.


Revision 77685 - Directory Listing
Modified Tue Mar 10 18:42:12 2009 UTC (10 years, 10 months ago) by manus
Original Path: trunk/eweasel/source
Use new syntax for object test.


Revision 77349 - Directory Listing
Modified Thu Feb 26 10:41:14 2009 UTC (10 years, 10 months ago) by jfiat
Original Path: trunk/eweasel/source
Fixed compilation issue

Revision 77058 - Directory Listing
Modified Sat Feb 7 08:15:31 2009 UTC (10 years, 11 months ago) by manus
Original Path: trunk/eweasel/source
Fixed code that does not compile anymore because now CELL only offers `put' as creation procedure
  since `default_create' cannot be used in Void safe mode.


Revision 76646 - Directory Listing
Modified Mon Jan 12 11:50:08 2009 UTC (11 years ago) by larryl
Original Path: trunk/eweasel/source
Added {EW_EQA_WINDOWS_SETUP}.`write_all_converted_classes_to_file' for new hidden "eweasel conversion" tool in Eiffel Studio

Revision 76557 - Directory Listing
Modified Fri Jan 2 23:35:44 2009 UTC (11 years ago) by manus
Original Path: trunk/eweasel/source
Added `-verbose' option so that in output of tests we see what the compiler has compiled so far
  which is quite useful especially for incrementality tests.


Revision 76162 - Directory Listing
Modified Mon Dec 15 07:01:55 2008 UTC (11 years, 1 month ago) by manus
Original Path: trunk/eweasel/source
Use new name of < operator in EiffelBase to use the alias version instead of `infix'.


Revision 75750 - Directory Listing
Modified Wed Nov 19 07:07:44 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/eweasel/source
Reverted the change in revision#75705, so the compare instruction is strict 

Revision 75749 - Directory Listing
Modified Wed Nov 19 04:20:20 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/eweasel/source
Cosmetic

Revision 75705 - Directory Listing
Modified Tue Nov 18 11:41:09 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/eweasel/source
Added {EW_EQA_UNIX_SETUP} for Linux system's eweasel testing preparation (on Windows, we have {EW_EQA_WINDOWS_SETUP} already)

Made {EW_COMPARE_INST} equal_files doesn't care about the differences of end line marks between Linux and Windows, because Windows system using %R%N, but Linux using %N

Added {EW_TEST_ENVIRONMENT}.substitute_recursive

Revision 75664 - Directory Listing
Modified Mon Nov 17 08:19:35 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/eweasel/source
Made {EW_EQA_TEST_EWEASEL_TCF_CONVERTER} read class template file from delivery automatically

Cosmetics

Revision 75662 - Directory Listing
Modified Mon Nov 17 06:33:14 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/eweasel/source
Improved tcf converter, now it can convert test cases to different files instead of one big file (separated by test catalogs, such as: `agent' `array' `attach'...)

Revision 75502 - Directory Listing
Modified Tue Nov 11 02:40:03 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/eweasel/source
Fixed various issues to make the new eweasel testing results same as the old eweasel testing results

Fixed {EW_DELETE_INST} for fake002
Fixed {EW_EQA_WINDOWS_SETUP} for fixed119
Fixed {EW_EQA_TEST_CONTROL_INSTRUCTIONS}.execute_final and {EW_EQA_TEST_EWEASEL_TCF_CONVERTER} for expanded003
Fixed {EW_EQA_TEST_CONTROL_INSTRUCTIONS}.system for incr222
Fixed {EW_EQA_TEST_CONTROL_INSTRUCTIONS}.copy_raw  incr245
Fixed {EW_EQA_TEST_CONTROL_INSTRUCTIONS}.if_  and if_not for rdtp001


Revision 75439 - Directory Listing
Modified Thu Nov 6 07:59:13 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/eweasel/source
Fixed various issues to make the new eweasel testing results same as the old eweasel testing results (Fixed assert001, assert002, ccomp024, config001)

Made tcf converter can ignore non exist test cases when generating new Eiffel test cases

Revision 75338 - Directory Listing
Modified Wed Oct 29 08:57:28 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/eweasel/source
Made {EW_EQA_WINDOWS_SETUP} reading environment values automatically

Revision 75337 - Directory Listing
Modified Wed Oct 29 07:38:47 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/eweasel/source
Renamed classes' names, made eweasel compile on Linux

Revision 75316 - Directory Listing
Modified Tue Oct 28 10:23:14 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/eweasel/source
Removed useless locals and feature

Revision 75315 - Directory Listing
Modified Tue Oct 28 07:52:00 2008 UTC (11 years, 2 months ago) by larryl
Original Path: trunk/eweasel/source
Adapted all original eweasel testing instructions (including catalog instructions), so end users can write testing cases in normal Eiffel classes by inheriting {EW_EQA_TEST_CONTROL_INSTRUCTIONS}

Added {EW_TEST_EWEASEL_TCF_CONVERTER} which can convert old plain text file tcfs to new Eiffel class testing control files

The major changes in original eweasel sources codes are:
a) Added classes under $EWEASEL\source\eqa
b) Added EW_ prefix to all original eweasel classes names
c) The classes have changes except class name changing are:
  i.EW_COPY_INST
  ii.EW_COPY_SUB_INST
  iii.EW_INSTRUCTION_TABLE
  iv.EW_KEYWORD_CONST
  v.EW_EIFFEL_EWEASEL_TEST
d) Made "eweasel.ecf" can be used as a library


Revision 73917 - Directory Listing
Modified Sun Jun 22 22:08:18 2008 UTC (11 years, 7 months ago) by dhollen
Original Path: trunk/eweasel/source
Changed eweasel to display the raw compiler output if the actual
compilation result status is "unknown".  This should help in debugging
any problems.  Windows version changed but not tested (should work).


Revision 73916 - Directory Listing
Modified Sun Jun 22 20:43:09 2008 UTC (11 years, 7 months ago) by dhollen
Original Path: trunk/eweasel/source
Removed class that is no longer used and also won't be needed in the future
because C memory can be allocated using routines in class POINTER.


Revision 73915 - Directory Listing
Modified Sun Jun 22 18:36:35 2008 UTC (11 years, 7 months ago) by dhollen
Original Path: trunk/eweasel/source
Added eweasel option -max_c_processes to set the maximum number of
simultaneous processes to use for C compilations for any one test.
Default if not specified or if <= 0 is number of processors on
machine.  Can be useful to prevent C compilation failures due to
running out of memory, especially when using MT version of eweasel.
Windows version modified but not tested (should work).


Revision 73890 - Directory Listing
Modified Thu Jun 19 17:28:22 2008 UTC (11 years, 7 months ago) by manus
Original Path: trunk/eweasel/source
Fixed a byte missing read in MT version of eweasel. This was because we
  were passing the address of an attribute to blocking externals and if a
  GC cycle was performed the wrong location was used to store the value
  computed by the C external. Now we use a local variable and then store
  the attribute.


Revision 73872 - Directory Listing
Modified Thu Jun 19 05:54:39 2008 UTC (11 years, 7 months ago) by manus
Original Path: trunk/eweasel/source
Added a sleep of 1ms while waiting for the process to exit as otherwise
  it makes an active wait and it slows down the other threads doing test.


Revision 73871 - Directory Listing
Modified Thu Jun 19 05:50:27 2008 UTC (11 years, 7 months ago) by manus
Original Path: trunk/eweasel/source
It makes more sense to use RAW_FILE to delete a file.


Revision 73870 - Directory Listing
Modified Wed Jun 18 23:33:15 2008 UTC (11 years, 7 months ago) by manus
Original Path: trunk/eweasel/source
Because windows does not seem to remove the lock on files owned by a killed
  process immediately after the process is killed, we have to redefine abort
  to cancel the Eiffel compilation before trying to kill it.
  This allows the removal of the test directory for eweasel test#valid012 for
  example.


Revision 73869 - Directory Listing
Modified Wed Jun 18 23:31:31 2008 UTC (11 years, 7 months ago) by manus
Original Path: trunk/eweasel/source
Use Precursor instead of replicating inherited `terminate' routine.


Revision 73867 - Directory Listing
Modified Wed Jun 18 19:15:20 2008 UTC (11 years, 7 months ago) by manus
Original Path: trunk/eweasel/source
Fixed `close' which was not resetting `std_input', `std_output' and `savefile' to their
  default value once closed. As a consequence, we get random crash in eweasel in multithreaded
  mode. Once we added the reset, those random crashes disappeared. It is definitely strange
  that those crashes did not occur in single threaded mode.


Revision 73863 - Directory Listing
Modified Wed Jun 18 18:12:23 2008 UTC (11 years, 7 months ago) by manus
Original Path: trunk/eweasel/source
Removed call to CloseHandle from `duplicate_handle' so that we can properly do the error handling which
  has been added via the empty `display_error' routine which can be modified when debugging is necessary.


Revision 73862 - Directory Listing
Modified Wed Jun 18 18:07:40 2008 UTC (11 years, 7 months ago) by manus
Original Path: trunk/eweasel/source
Cosmetics (removed white spaces)


Revision 73861 - Directory Listing
Modified Wed Jun 18 15:16:28 2008 UTC (11 years, 7 months ago) by manus
Original Path: trunk/eweasel/source
Fixed `read_line' and `read_character' to repeat the read in case the read is successful and
  zero bytes were read. This fixes test#fixed099 which was always failing when running the complete
  catalog file.
Properly implemented `terminate' which waits until the termination of the process before finishing.


Revision 73854 - Directory Listing
Modified Tue Jun 17 01:43:23 2008 UTC (11 years, 7 months ago) by dhollen
Original Path: trunk/eweasel/source
Changed eweasel to use newly added {EXECUTION_ENVIRONMENT}.sleep instead
of its own C externals.


Revision 73834 - Directory Listing
Modified Fri Jun 13 00:34:04 2008 UTC (11 years, 7 months ago) by dhollen
Original Path: trunk/eweasel/source
Added new routine {EWEASEL_PROCESS}.abort, which does what `terminate' currently
does (close pipes and forcibly terminate the process).  Changed existing routine
`terminate' to not kill the child process, since this is incorrect when we
expect the child to terminate normally, and instead just wait for child to
terminate and get its status.  Changed callers that really want `abort' to
call it instead of `terminate'.

Windows version of {EWEASEL_PROCESS}.terminate needs to be fixed by someone
who knows how.


Revision 73828 - Directory Listing
Modified Thu Jun 12 03:01:55 2008 UTC (11 years, 7 months ago) by dhollen
Original Path: trunk/eweasel/source
Removed unused routines in eweasel "os" cluster.


Revision 73827 - Directory Listing
Modified Thu Jun 12 02:36:08 2008 UTC (11 years, 7 months ago) by dhollen
Original Path: trunk/eweasel/source
Changed feature `delete_directory_tree' in eweasel class
OPERATING_SYSTEM to use the Windows implementation, which is actually
platform-independent.  Removed Unix-specific implementation of this
routine, which was calling `system', which is not thread-safe.


Revision 73826 - Directory Listing
Modified Thu Jun 12 02:21:09 2008 UTC (11 years, 7 months ago) by dhollen
Original Path: trunk/eweasel/source
Changed {UNIX_EXTERNALS}.unix_fork_process routine used by eweasel to
call `eif_thread_fork' instead of `fork', now that the former is
defined to be the latter in the single-threaded case.
`eif_thread_fork' uses GC synchronization in the multi-threaded case
to ensure that no other thread holds a mutex, which could cause a deadlock
in the child process.


Revision 73821 - Directory Listing
Modified Wed Jun 11 19:14:37 2008 UTC (11 years, 7 months ago) by dhollen
Original Path: trunk/eweasel/source
Changed Unix version of EWEASEL_PROCESS to use `read_line_thread_aware'
to avoid preventing a GC cycle from occurring while we wait for input from
the spawned process.  This speeds up MT eweasel since tests do not wait
unnecessarily.  Windows version of this class may still need to be fixed.


Revision 73818 - Directory Listing
Modified Wed Jun 11 15:30:06 2008 UTC (11 years, 7 months ago) by dhollen
Original Path: trunk/eweasel/source
Added eweasel -noorder and -noclean options, which can be used to
override -order and -clean options that appear earlier on the command
line.  Updated help output and cleaned it up a bit.


Revision 73816 - Directory Listing
Modified Wed Jun 11 14:22:43 2008 UTC (11 years, 7 months ago) by dhollen
Original Path: trunk/eweasel/source
Changed eweasel to display results of each test as soon as it is
completed, by default.  Test results may thus appear in a semi-random
order.  Added -order option to display test results in catalog order,
which was the previous behavior.


Revision 73809 - Directory Listing
Modified Mon Jun 9 20:43:15 2008 UTC (11 years, 7 months ago) by dhollen
Original Path: trunk/eweasel/source
Removed unused local.


Revision 73800 - Directory Listing
Modified Mon Jun 9 14:57:01 2008 UTC (11 years, 7 months ago) by dhollen
Original Path: trunk/eweasel/source
Changed MT eweasel so that if N tests are selected and maximum number
of worker threads is MAX, it will start min(N, MAX) worker threads
instead of always starting MAX worker threads.  No point in starting
more worker threads than there are tests to be executed.


Revision 73797 - Directory Listing
Modified Fri Jun 6 15:59:34 2008 UTC (11 years, 7 months ago) by dhollen
Original Path: trunk/eweasel/source
First release of multithreaded eweasel (experimental).

Changed eweasel.ecf to have two targets - eweasel_st (single-threaded) and
   eweasel_mt (multithreaded), which have root classes EWEASEL_ST and
   EWEASEL_MT (descendants of EWEASEL).  They produce executables eweasel
   and eweasel-mt, respectively.
Changed install scripts to build both ST and MT versions (Windows install
   script not tested).
Added option -max_threads to specify maximum number of worker threads to
   use.  It is ignored for ST eweasel.  Default is -1, meaning run all tests
   in main thread (no workers).  Value of 0 will currently cause hang.
Changed all C externals on Unix side to be "C inline" in new class 
   UNIX_EXTERNALS, to eliminate need for separate .c files.

Implementation Issues:
MT eweasel currently launches maximum number of threads allowed, even if 
   only a few tests are selected.  Will be fixed soon.
MT eweasel currently displays completed tests in catalog order.
   It will be changed to display completed tests as soon as they finish 
   (by default) and a new -order option will be added to get the current 
   behavior.
Should call EiffelBase sleep routine instead of rolling my own, but it is
   not available yet.
MT eweasel should perhaps use process library but ST version cannot, so for
   now both versions share the same code.

Known Limitations:
Max_threads value of 0 will cause a hang on MT version (will later mean 
   "number of processors online" on machine).
MT eweasel is not as fast as it could be because {FILE}.read_character and
   {FILE}.read_line call externals that are not marked "blocking".  This
   can cause every thread to stop on GC synchronization while one thread 
   waits for another line or character of output from a spawned subprocess.
   Thread-aware versions of these routines should be available soon.
MT eweasel might use a lot of memory and cause thrashing if too many large C
   compilations are done at once from multiple tests.
There are no resource limits for individual tests, which cause thrashing.
MT eweasel is not very reliable yet.  Sometimes tests fail when they should
  pass and sometimes there are hangs.


Revision 73720 - Directory Listing
Modified Mon May 26 20:43:23 2008 UTC (11 years, 7 months ago) by dhollen
Original Path: trunk/eweasel/source
Updated eweasel to not check for some strings defined in 
EIFFEL_COMPILER_CONSTANTS that compiler has not generated for a long time.
Adjusted EIFFEL_COMPILATION and EIFFEL_COMPILATION_RESULT accordingly.


Revision 73684 - Directory Listing
Modified Thu May 22 23:49:16 2008 UTC (11 years, 8 months ago) by dhollen
Original Path: trunk/eweasel/source
Fixed eweasel STRING constant `Aborted_prefix' to have correct value,
to match what compiler prints when session is aborted.  Previous value of
constant was "ISE Eiffel 5: Session aborted".


Revision 73607 - Directory Listing
Modified Sun May 18 22:32:12 2008 UTC (11 years, 8 months ago) by dhollen
Original Path: trunk/eweasel/source
Changed eweasel to detect "project needs precompile which is not compiled"
response from compiler and generate a suspended compilation result.  This
allows a test which uses a precompiled library that has not been compiled
to fail with a "missing precompile" error instead of hanging indefinitely.
Windows version should work but was only checked carefully (not compiled
or tested).


Revision 73603 - Directory Listing
Modified Sat May 17 04:00:50 2008 UTC (11 years, 8 months ago) by dhollen
Original Path: trunk/eweasel/source
Made various improvements to command line version of eweasel:
Improved and clarified output of -help option.
Changed to only display one line message telling how to get help instead of
   complete usage message if there are any invalid options.
Improved error messages for invalid filters (invalid keyword or too many
   filter values).
Added filtering on test directory name, to allow options like
   -filter 'dir exec001' since test dir name is easier to remember and type.
Added filter type synonyms "directory" for "dir" and "keyword" for "kw" to
   allow clearer command lines.


Revision 73594 - Directory Listing
Modified Fri May 16 22:14:05 2008 UTC (11 years, 8 months ago) by dhollen
Original Path: trunk/eweasel/source
Removed unused routines from C_MEMORY_ALLOCATION, some of which
referenced mem_alloc.h, which is not found from the include in the
eweasel configuration file.  This change fixes a C compilation failure
when freezing eweasel (finalizing already worked because the unused
routines got removed by dead code removal).


Revision 73581 - Directory Listing
Modified Fri May 16 19:00:50 2008 UTC (11 years, 8 months ago) by dhollen
Original Path: trunk/eweasel/source
Made eweasel compile with full class checking, at least on Unix.


Revision 72268 - Directory Listing
Modified Fri Feb 8 23:49:14 2008 UTC (11 years, 11 months ago) by manus
Original Path: trunk/eweasel/source
Forgot to commit new class at rev#72267.


Revision 72267 - Directory Listing
Modified Fri Feb 8 23:48:40 2008 UTC (11 years, 11 months ago) by manus
Original Path: trunk/eweasel/source
Updated eweasel so that errors are sorted before comparing the expected results from the tcf file.
  That way a test will only fail if the errors being reported are really different, not just if they
  have a different order.


Revision 70807 - Directory Listing
Modified Tue Oct 23 17:15:13 2007 UTC (12 years, 3 months ago) by tedf
Original Path: trunk/eweasel/source
Added a space before `had_panic' testing string. So that tests using the new class names with "PANIC" don't fail.

Revision 69405 - Directory Listing
Modified Thu Jul 12 18:05:30 2007 UTC (12 years, 6 months ago) by manus
Original Path: trunk/eweasel/source
Fixed VD80 warnings by fixing the filename to match the classname.


Revision 68273 - Directory Listing
Modified Fri May 11 23:05:57 2007 UTC (12 years, 8 months ago) by martins
Original Path: trunk/eweasel/source
Reverted wrong commit.

Revision 68272 - Directory Listing
Modified Fri May 11 22:47:31 2007 UTC (12 years, 8 months ago) by martins
Original Path: trunk/eweasel/source
Tests nested generics and proper validity checking of creation readiness.

Revision 65297 - Directory Listing
Modified Thu Nov 30 20:22:33 2006 UTC (13 years, 1 month ago) by manus
Original Path: trunk/eweasel/source
Moved from trunk/Src/eweasel to trunk/eweasel so that a simple checkout of the source code is not penalized by the lenghty process of checking out all the tests of eweasel.

Revision 65296 - Directory Listing
Added Thu Nov 30 19:56:25 2006 UTC (13 years, 1 month ago) by manus
Original Path: trunk/Src/eweasel/source
Initial revision for the eweasel delivery provided by David Hollenberg
  from the University of Southern California under the GPL v2.0 license.


  ViewVC Help
Powered by ViewVC 1.1.23