Skip to content

Ghidra is a software reverse engineering (SRE) framework

added Suite restriction to test tasks

adamopolous062a0278f27e
diff --git a/gradle/javaTestProject.gradle b/gradle/javaTestProject.gradle
index 6871eeb856..dee67dc475 100644
--- a/gradle/javaTestProject.gradle
+++ b/gradle/javaTestProject.gradle
@@ -34,6 +34,9 @@ test { t ->
// base classes (eg: AbstractGhidraHeadlessIntegrationTest) in 'test'; they
// must go in 'test.slow'.
+ // Do not include suite classes; they trigger the tests in the suite to get run twice
+ // (once by normal jUnit and again when the suite runs).
+ excludes = ['**/*Suite*']
doFirst {
startTestTimer(t)