Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace references of openjdk-systemtest with aqa-systemtest #115

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions stf.build/docs/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ These prereqs must be installed before attempting to build STF
### Installing the prereqs using the build scripts
1. An internet connection is required
2. Review the list of prereqs listed under 'Installing prereqs manually' and confirm that you accept their license terms.
3. `git clone https://github.com/AdoptOpenJDK/stf.git stf`
3. `git clone https://github.com/adoptium/stf.git stf`
4. Change into the stf.build directory `cd <git-root>;stf.build`
5. `make configure`

Expand All @@ -36,7 +36,7 @@ These prereqs must be installed before attempting to build STF
| wget | https://www.gnu.org/copyleft/gpl.html | stf.build | Windows - download from https://sourceforge.net/projects/gnuwin32/files/wget/1.11.4-1/wget-1.11.4-1-bin.zip | Add to PATH | No |

## Building from a command line
1. `git clone https://github.com/AdoptOpenJDK/stf.git stf`
1. `git clone https://github.com/adoptium/stf.git stf`
2. Change into the stf.build directory `cd <git-root>;stf.build`
3. `make`

Expand All @@ -53,6 +53,6 @@ line arguments when the tests execute outside of Eclipse.
- Select the directory containing the prereqs. Select import into the new systemtest_prereqs folder. Do not tick
the 'Create top level folder' check box (otherwise you get an extra 'systemtest_prereqs' folder which you do not
want).
3. `git clone https://github.com/AdoptOpenJDK/stf.git stf`
3. `git clone https://github.com/adoptium/stf.git stf`
4. Import the STF projects into Eclipse (Find and import Eclipse projects)
5. Eclipse should now build the projects without errors (check the 'Problems' view).
2 changes: 1 addition & 1 deletion stf.build/include/top.xml
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ limitations under the License.
</target>

<!--
Some tests may require test.debugging requires tools.jar for building (e.g. test.debugging in openjdk-systemtests).
Some tests may require test.debugging requires tools.jar for building (e.g. test.debugging in aqa-systemtest).
tools.jar is shipped with java8, but is built into the jdk in later releases (so does not exist).
The code below looks for tools.jar in Java 8, but only if we are using java 8.
If tools.jar is found, it is copied to PREREQS_ROOT/tools.
Expand Down
2 changes: 1 addition & 1 deletion stf.build/scripts/stf_clone_make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ REM limitations under the License.
REM Save current directory
set currdir=%cd%
REM Clone
(IF NOT EXIST %USERPROFILE%\git mkdir %USERPROFILE%\git) && cd %USERPROFILE%\git && (IF EXIST stf rmdir /s /q stf) && git clone https://github.com/AdoptOpenJDK/stf.git stf
(IF NOT EXIST %USERPROFILE%\git mkdir %USERPROFILE%\git) && cd %USERPROFILE%\git && (IF EXIST stf rmdir /s /q stf) && git clone https://github.com/adoptium/stf.git stf
REM Configure (get prereqs)
cd %USERPROFILE%\git\stf\stf.build
make configure
Expand Down
2 changes: 1 addition & 1 deletion stf.build/scripts/stf_clone_make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#-------------------------------------------------------------------------

# Clone
mkdir -p $HOME/git && cd $HOME/git && rm -rf stf && mkdir stf && git clone https://github.com/AdoptOpenJDK/stf.git stf
mkdir -p $HOME/git && cd $HOME/git && rm -rf stf && mkdir stf && git clone https://github.com/adoptium/stf.git stf
if [ "$?" != "0" ]; then
echo "Error cloning stf" 1>&2
exit 1
Expand Down
16 changes: 8 additions & 8 deletions stf.core/docs/STF-GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ from source on a development machine.

On completion of these instructions you'll have an
Eclipse installation with a workspace
that contains the source code for STF itself and the AdoptOpenJDK tests which use it. These tests will be runnable from the command prompt and should pass.
that contains the source code for STF itself and the adoptium tests which use it. These tests will be runnable from the command prompt and should pass.

Eclipse is used a development tool to make the development/debugging of test
automation quicker and easier, with local compile time checking, and tests which can execute
Expand Down Expand Up @@ -78,10 +78,10 @@ Verify that the Eclipse version works with at least Java 8 by opening
1. The stf projects should now build without build errors.

<a name="2.4"></a>
### Clone and build the openjdk-systemtest git repository
1. Follow the instructions in openjdk.build/docs/readme.md to clone the openjdk-systemtest git repository and set up the prereqs.
### Clone and build the aqa-systemtest git repository
1. Follow the instructions in openjdk.build/docs/readme.md to clone the aqa-systemtest git repository and set up the prereqs.
1. Import these projects into Eclipse alongside the stf projects (Find and import Eclipse projects)
1. Add any additional prereqs from the openjdk-systemtest make configure step to the systemtest_prereqs folder (use File --> Import).
1. Add any additional prereqs from the aqa-systemtest make configure step to the systemtest_prereqs folder (use File --> Import).
1. The openjdk.xxx projects should also now build without build errors.
1. The native (C code) test cases cannot be built automatically by Eclipse.
To build these run the ant build. This can be done from within Eclipse by opening the Ant View,
Expand Down Expand Up @@ -157,9 +157,9 @@ This is obviously useful for getting a full list of all tests, but is also usefu
you want the full test name but only know part of the name.

```
perl $HOME/git/stf/stf.core/scripts/stf.pl -test-root="$HOME/git/openjdk-systemtest" -list
perl $HOME/git/stf/stf.core/scripts/stf.pl -test-root="$HOME/git/aqa-systemtest" -list

perl $HOME/git/stf/stf.core/scripts/stf.pl -test-root="$HOME/git/openjdk-systemtest" -list | grep -i memory
perl $HOME/git/stf/stf.core/scripts/stf.pl -test-root="$HOME/git/aqa-systemtest" -list | grep -i memory

GEN 10:51:58.145 - | test.jlm | TestJlmRemoteMemoryAuth |
GEN 10:51:58.145 - | test.jlm | TestJlmRemoteMemoryNoAuth |
Expand Down Expand Up @@ -197,7 +197,7 @@ to get a UNIX style list of the available options you need to use '-help'
argument in conjunction with a '-test=x' argument.

```
perl $HOME/git/stf/stf.core/scripts/stf.pl -test-root="$HOME/git/openjdk-systemtest" -test=UtilLoadTest -help
perl $HOME/git/stf/stf.core/scripts/stf.pl -test-root="$HOME/git/aqa-systemtest" -test=UtilLoadTest -help
```

<a name="3.5"></a>
Expand All @@ -218,7 +218,7 @@ you can manually run the setup, execute and teardown scripts.

For fully manual execution:
```
perl $HOME/git/stf/stf.core/scripts/stf.pl -test-root="$HOME/git/openjdk-systemtest" -test=UtilLoadTest -dry-run</b>
perl $HOME/git/stf/stf.core/scripts/stf.pl -test-root="$HOME/git/aqa-systemtest" -test=UtilLoadTest -dry-run</b>
...
C:\stf_temp\20170801-133510-UtilLoadTest
(STF creates the results directory yyyymmdd-hhmmss-testname)
Expand Down
6 changes: 3 additions & 3 deletions stf.core/scripts/stf.pl
Original file line number Diff line number Diff line change
Expand Up @@ -708,17 +708,17 @@ sub validate_jvm {
# /xxxxxx (xxxxxxx) 579397092/1290153920 31238576 Available
#
# On Windows use dir <results_root>:
# C:\git\openjdk-systemtest>dir
# C:\git\aqa-systemtest>dir
# Volume in drive C has no label.
# Volume Serial Number is xxxx-xxxx
#
# Directory of C:\git\openjdk-systemtest
# Directory of C:\git\aqa-systemtest
#
#02/02/2017 15:23 <DIR> .
#02/02/2017 15:23 <DIR> ..
#02/02/2017 15:23 766 .gitattributes
#02/02/2017 15:23 30 .gitignore
#02/02/2017 15:23 <DIR> openjdk-systemtest
#02/02/2017 15:23 <DIR> aqa-systemtest
# 2 File(s) 796 bytes
# 3 Dir(s) 214,264,049,664 bytes free

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -748,9 +748,9 @@ private void generateHelpText(StfPluginRootInterface pluginObject, Method helpMe
+ "add the directory containing Stf.pl to the system path.");

help.outputSection("Example commands");
help.outputText("$ stf -test-root=$HOME/git/openjdk-systemtest -test=LambdaLoadTest");
help.outputText("$ stf -test-root=$HOME/git/openjdk-systemtest -test=MathLoadTest -test-args=\"workload=autoSimd\"");
help.outputText("$ stf -test-root=$HOME/git/openjdk-systemtest -test=MathLoadTest -test-args=\"workload=bigDecimal\" -dry-run");
help.outputText("$ stf -test-root=$HOME/git/aqa-systemtest -test=LambdaLoadTest");
help.outputText("$ stf -test-root=$HOME/git/aqa-systemtest -test=MathLoadTest -test-args=\"workload=autoSimd\"");
help.outputText("$ stf -test-root=$HOME/git/aqa-systemtest -test=MathLoadTest -test-args=\"workload=bigDecimal\" -dry-run");

help.outputLine();
}
Expand Down
2 changes: 1 addition & 1 deletion stf.load/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ The Mauve code which verifies test conditions prefixes some output text with a '
However, many Mauve tests don't give any positive or negative confirmation so, although assumed
to pass, are given an 'unknown' result status.

Of course, executing the mauve tests requires that they are available. See the https://github.com/AdoptOpenJDK/openjdk-systemtest project for details
Of course, executing the mauve tests requires that they are available. See the https://github.com/adoptium/aqa-systemtest project for details
of how to enable this feature. Once the test cases are built a single test can be executed outside of the test.load
harness as follows:
```
Expand Down