Merge remote-tracking branch 'origin/GT-3046_adamopolous_PR-832_kant2002_kant/ci-docs'

This commit is contained in:
Ryan Kurtz
2019-08-01 14:41:52 -04:00
+23
View File
@@ -306,6 +306,29 @@ If the launcher does not appear, it probably has not been marked as a favorite.
Click the dropdown next to the "Run" button and select "Run Configurations."
Then expand "Java Application" on the left to find the "Ghidra" launcher.
### Running tests
For running unit tests, run
gradle unitTestReport
for more complex integration tests run
gradle integrationTest
For running both unit test and integration test and generate report use
gradle combinedTestReport
## Setup build in CI
For running build in headless mode on Linux, in CI environment, or in Docker, before running tests, run
Xvfb :99 -nolisten tcp &
export DISPLAY=:99
this is required to make AWT happy.
## Building Supporting Data
Some features of Ghidra require the curation of rather extensive databases.