Skip to content

Ghidra is a software reverse engineering (SRE) framework

created resources folder in integrationTest project; made test resources in Base available to IntegrationTest project

adamopolous15af121beabb
diff --git a/Ghidra/Test/IntegrationTest/build.gradle b/Ghidra/Test/IntegrationTest/build.gradle
index 8f9d26fd03..c0cec14bc2 100644
--- a/Ghidra/Test/IntegrationTest/build.gradle
+++ b/Ghidra/Test/IntegrationTest/build.gradle
@@ -7,6 +7,17 @@ eclipse.project.name = '_Integration Test'
/*********************************************************************************
* Build dependencies
*********************************************************************************/
+
+// There are tests in this module that require resources in Base:test. This
+// is a on-off type of situation so just add to the resources source set here.
+sourceSets {
+ integrationTest {
+ resources {
+ srcDirs += [project(':Base').sourceSets.test.resources]
+ }
+ }
+}
+
dependencies {
// integrationtest module may depend on other projects in this repo; add them
// here
@@ -28,7 +39,7 @@ dependencies {
// some tests use classes in Base/src/test and test.slow
testCompile project(path: ':Base', configuration: 'testArtifacts')
testCompile project(path: ':Base', configuration: 'integrationTestArtifacts')
- testCompile project(path: ':FunctionGraph', configuration: 'testArtifacts')
+ testCompile project(path: ':FunctionGraph', configuration: 'testArtifacts')
}
// For Java 9, we must explicitly export references to the internal classes we are using.
diff --git a/Ghidra/Test/IntegrationTest/certification.manifest b/Ghidra/Test/IntegrationTest/certification.manifest
index c615302c68..4a077a2f88 100644
--- a/Ghidra/Test/IntegrationTest/certification.manifest
+++ b/Ghidra/Test/IntegrationTest/certification.manifest
@@ -1,3 +1,3 @@
##VERSION: 2.0
build.gradle||GHIDRA||||END|
-src/test.slow/java/ghidra/pcodeCPort/slgh_compile/pcode1.xml||GHIDRA||||END|
+src/test.slow/resources/ghidra/pcodeCPort/slgh_compile/pcode1.xml||GHIDRA||||END|
diff --git a/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/pcodeCPort/slgh_compile/pcode1.xml b/Ghidra/Test/IntegrationTest/src/test.slow/resources/ghidra/pcodeCPort/slgh_compile/pcode1.xml
similarity index 100%
rename from Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/pcodeCPort/slgh_compile/pcode1.xml
rename to Ghidra/Test/IntegrationTest/src/test.slow/resources/ghidra/pcodeCPort/slgh_compile/pcode1.xml