ViewVC logotype

Contents of /branches/Eiffel_61/eweasel/INSTALL

Parent Directory Parent Directory | Revision Log Revision Log

Revision 71221 - (show annotations)
Tue Nov 20 04:14:00 2007 UTC (12 years, 2 months ago) by manus
File size: 3880 byte(s)
Eiffel 6.1 Release.
1 --| Copyright (c) 1993-2006 University of Southern California and contributors.
2 --| All rights reserved.
3 --| Your use of this work is governed under the terms of the GNU General Public
4 --| License version 2.
6 Installation instructions (copy of the page at http://eiffelsoftware.origo.ethz.ch/index.php/Eweasel_How_To)
8 ==Getting eweasel==
9 First you need to get the source code of eweasel. It is part of the EiffelStudio SVN repository under trunk/eweasel. Let's suppose you have a '''Test''' directory available, here is what you need to do in this directory:
11 svn co https://eiffelsoftware.origo.ethz.ch/svn/es/trunk/eweasel eweasel
13 ==Setting up an EiffelStudio delivery for eweasel==
14 To perform testing, you need a modified version of the EiffelStudio delivery, refer to those [[Building_a_delivery|instructions]] for building one. Note that you need as many deliveries as platforms you are testing (thankfully the deliveries can be all done in the same location since we distinguish them through the spec/$ISE_PLATFORM/ paradigm).
16 ==Setting up your environment==
17 You need to define the following environment variable:
18 * '''ISE_EIFFEL''' should point to your EiffelStudio delivery (made above)
19 * '''ISE_LIBRARY''' should point to the same value as '''$ISE_EIFFEL'''
20 * '''ISE_PLATFORM''' should be your platform name (e.g. windows, win64, linux-x86, solaris-sparc, etc...). However for .NET, it has to be '''dotnet'''.
21 * '''EWEASEL''' should be ''Test/eweasel'' (replace Test by the absolute path to the '''Test''' directory)
22 * '''EWEASEL_OUTPUT''' should be set to a directory location used by the test engine to perform the compilations and keeping any outputs produced by the tests. If not set it will be in '''$EWEASEL/tmp'''.
24 And you also need to update your '''PATH''' environment variable so it reads:
25 * On Unix: ''$EWEASEL/spec/$ISE_PLATFORM/bin''
26 * On Windows: ''$EWEASEL/spec/windows/bin''
28 We recommend that you do the above in a script that you will launch each time you want to perform the testing. That way those settings won't interfere with the official delivery of EiffelStudio.
30 ===Windows only===
31 You need to update your C compiler flags so that it always generates a DOS application (on Windows default is a GUI application) because eweasel needs to redirect the output of the applications to a file. It depends on the C compiler:
32 * For Microsoft, edit the file ''$ISE_EIFFEL/studio/config/$ISE_PLATFORM/msc/config.eif'' and modify it so that it specifies '''-SUBSYSTEM:CONSOLE''' instead of '''-SUBSYSTEM:WINDOWS'''.
33 * For Borland, edit the file ''$ISE_EIFFEL/studio/config/$ISE_PLATFORM/bcb/config.eif'' and modify it so that it specifies '''-ap''' instead of '''-aa'''.
35 You may also want to read the [[Dr_Watson|Dr Watson]] page as otherwise on non-working tests, the eweasel regression will stop until you click OK on the debugging dialog.
37 ==Compiling eweasel==
38 You need to compile the eweasel engine to run the tests. To do so, go in ''$EWEASEL/compilation'' and execute the '''install_eweasel''' script (.bat for windows).
40 ==Launching the test==
41 In $EWEASEL/bin you will find scripts call run_eweasel, run_eweasel_catalog and run_eweasel_filter (add the .bat extension for Windows) which helps you launch tests.
43 * run_eweasel: copy the right `general.cfg' file to your delivery, checkout the latest version of the libraries from the EiffelStudio delivery, precompiles the precompiled libraries needed by eweasel, launch eweasel and store the results in a file.
44 * run_eweasel_catalog: run the tests from a specified catalog
45 * run_eweasel_filter: run one particular test
47 On a recent machine (from 2006), running all the tests should take about 4h or less.
49 ==Analyzing the results==
50 You should use the [[Eweasel_Comparator|Eweasel Comparator]] tool and compare your results with one of the reference one from the results subdirectory of eweasel.

  ViewVC Help
Powered by ViewVC 1.1.23