From 8b3d6bc43a8229e8413b97e803a3006fa1e2d87a Mon Sep 17 00:00:00 2001 From: Andrii Kurdiumov Date: Wed, 31 Jul 2019 22:34:30 +0600 Subject: [PATCH] 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. --- DevGuide.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/DevGuide.md b/DevGuide.md index 75dcbe4fff..5aacc3a0d8 100644 --- a/DevGuide.md +++ b/DevGuide.md @@ -310,21 +310,21 @@ Then expand "Java Application" on the left to find the "Ghidra" launcher. For running unit tests, run - gradlew unitTestReport + gradle unitTestReport for more complex integration tests run - gradlew integrationTest + gradle integrationTest For running both unit test and integration test and generate report use - gradlew combinedTestReport + gradle combinedTestReport ## 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 this is required to make AWT happy.