mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-09 22:17:55 -05:00
Address PR suggestions
- Update the xvfb command to add "-nolisten tcp" to the params. - Change "gradlew" to just "gradle". We don't specify that you have to use the wrapper. - Reword to emphasize that Xvbf required just for headless mode.
This commit is contained in:
10
DevGuide.md
10
DevGuide.md
@@ -310,21 +310,21 @@ Then expand "Java Application" on the left to find the "Ghidra" launcher.
|
|||||||
|
|
||||||
For running unit tests, run
|
For running unit tests, run
|
||||||
|
|
||||||
gradlew unitTestReport
|
gradle unitTestReport
|
||||||
|
|
||||||
for more complex integration tests run
|
for more complex integration tests run
|
||||||
|
|
||||||
gradlew integrationTest
|
gradle integrationTest
|
||||||
|
|
||||||
For running both unit test and integration test and generate report use
|
For running both unit test and integration test and generate report use
|
||||||
|
|
||||||
gradlew combinedTestReport
|
gradle combinedTestReport
|
||||||
|
|
||||||
## Setup build in CI
|
## Setup build in CI
|
||||||
|
|
||||||
For running build in Linux, in CI environment, or in Docker, before running tests, run
|
For running build in headless mode on Linux, in CI environment, or in Docker, before running tests, run
|
||||||
|
|
||||||
Xvfb :99 &
|
Xvfb :99 -nolisten tcp &
|
||||||
export DISPLAY=:99
|
export DISPLAY=:99
|
||||||
|
|
||||||
this is required to make AWT happy.
|
this is required to make AWT happy.
|
||||||
|
|||||||
Reference in New Issue
Block a user