From fafdaa404c28c821c3349e7d950afb6a4c8dd790 Mon Sep 17 00:00:00 2001 From: wisberg Date: Fri, 2 May 2003 19:24:31 +0000 Subject: [PATCH] updated with requirement to use -incremental and sourceroots for inc-compile tests --- tests/readme-writing-compiler-tests.html | 40 ++++++++++++++++-------- 1 file changed, 27 insertions(+), 13 deletions(-) diff --git a/tests/readme-writing-compiler-tests.html b/tests/readme-writing-compiler-tests.html index 65773a521..bf8f35225 100644 --- a/tests/readme-writing-compiler-tests.html +++ b/tests/readme-writing-compiler-tests.html @@ -114,8 +114,9 @@ Here's an example that
     <ajc-test dir="new/incremental1" title="incremental test">
-        <compile staging="true"
-                   files="Main.java,DeleteMe.java"/>
+        <compile staging="true" 
+             sourceroots="." 
+             options="-incremental" />
         <run class="Main"/>
         <inc-compile tag="20">
             <message kind="error" line="15">
@@ -124,20 +125,33 @@ Here's an example that
         <run class="Main"/>
     </ajc-test>
 
-Take particular note of two attributes, -compile's "staging" -and inc-compile's "tag". -First, the compile task enables staging, which copies the + +Attributes of note for setting up an incremental test: +

Thus, to understand what's happening in an incremental test @@ -405,6 +419,7 @@ which handle most of the other compiler arguments:

  • classpath: directories and jar files for the classpath
  • aspectpath: binary aspects in jar files
  • argfiles: argument list files +
  • sourceroots: root directories for source files
  • Paths for these are all relative to the test base directory, and @@ -426,10 +441,9 @@ Here is a cooked example that uses all compiler attributes:
    Unsupported compiler options
    The harness does not support the following AspectJ compiler -options: -target {version}, -outjar {file}, -sourceroots {dir}, --log {file}. -The following are used but specification is not supported: --d {dir}, -sourceroots {dir}... +options: -target {version}, -outjar {file}, -log {file}. +(-d {dir} is used but specification is not supported.) +

    Background information on the Harness

    -- 2.39.5