[TOC]
- Res
- <projectName>
*.time.log
- the log file that store time-consuming information, which is actually a csv-formatcommitSHA,RunWithoutEkstaziInSec,RunWithMilosEkstaziInSec,RunWithOurEkstaziInSec,ExitCode,
*.log
- the maven log for all exes, no matter they fail or not.*.phase.time.log
- the log file that store time-consuming information for AEC phases separately, which is actually a csv-formatATime,ETime,CTime,TestClassNum
.
ekstaziInsertionOriEkstazi.py
-pom.xml
injector. Will inject the original ekstazi plugin to rootpom.xml
.ekstaziInsertion.py
- Will inject our ekstazi plugin to rootpom.xml
- <projectName>
- <projectName> - git repositories.
RunPerProj.sh
- usebash run
to run this script.
This is the entrance of our script. This script will automatically run 20 successfully-builded reversions on origin/master.
bash RunPerProj.sh <param1> <param2> <param3>
All the params are Boolean ("true" or "false").
- param1 whether or not to run without Ekstazi. Default value is false.
- param2 whether or not to run the original version of Ekstazi (if you have Ekstazi 5.3.0 on your computer). Default value is false.
- param3 whether or not to run the our modified version of Ekstazi. Default value is true.
For example, you can run in the following manner:
bash RunPerProj true false false
[line 226-232] main <projectName> $ifWithout $ifOri $ifModif
You can apply the following projects with test our script. Simply clone the project under this root directory and make modifications mentioned at 2.1.2, and then run bash RunPerProj.sh
at this root directory.
- https://github.com/YiranCdr/javapoet
- https://github.com/YiranCdr/commons-cli
- https://github.com/YiranCdr/commons-math
- https://github.com/YiranCdr/commons-net
- https://github.com/YiranCdr/commons-jexl
- https://github.com/YiranCdr/commons-email
For more details about how to run the project, check this link.
Original submersion
Remove color-format output for $logFileName
.
Add phase time counter. Now you can calculate AEC time separately. If your ekstazi doesn't support phase time counting, this new function won't affect the original functions.
Now time.log shows millisecond
Move "which version to run Ekstazi" to command line. Check 2.2.1.