Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
ros2rag
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JastAdd
ros2rag
Commits
4d1d79e3
Commit
4d1d79e3
authored
4 years ago
by
René Schöne
Browse files
Options
Downloads
Patches
Plain Diff
Small cleanup of build.gradle in tests
parent
1f5df0a5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
buildSrc/src/main/java/org/jastadd/relast/plugin/CompilerLocationExtension.java
+1
-1
1 addition, 1 deletion
.../org/jastadd/relast/plugin/CompilerLocationExtension.java
ros2rag.tests/build.gradle
+2
-6
2 additions, 6 deletions
ros2rag.tests/build.gradle
with
3 additions
and
7 deletions
buildSrc/src/main/java/org/jastadd/relast/plugin/CompilerLocationExtension.java
+
1
−
1
View file @
4d1d79e3
...
@@ -9,7 +9,7 @@ import org.gradle.api.provider.Property;
...
@@ -9,7 +9,7 @@ import org.gradle.api.provider.Property;
* @author rschoene - Initial contribution
* @author rschoene - Initial contribution
*/
*/
public
class
CompilerLocationExtension
{
public
class
CompilerLocationExtension
{
Property
<
String
>
compilerLocation
;
public
Property
<
String
>
compilerLocation
;
public
CompilerLocationExtension
(
Project
project
)
{
public
CompilerLocationExtension
(
Project
project
)
{
compilerLocation
=
project
.
getObjects
().
property
(
String
.
class
);
compilerLocation
=
project
.
getObjects
().
property
(
String
.
class
);
...
...
This diff is collapsed.
Click to expand it.
ros2rag.tests/build.gradle
+
2
−
6
View file @
4d1d79e3
...
@@ -64,7 +64,6 @@ task preprocessExampleTest(type: JavaExec, group: 'verification') {
...
@@ -64,7 +64,6 @@ task preprocessExampleTest(type: JavaExec, group: 'verification') {
classpath
=
sourceSets
.
main
.
runtimeClasspath
classpath
=
sourceSets
.
main
.
runtimeClasspath
main
=
'org.jastadd.ros2rag.compiler.Compiler'
main
=
'org.jastadd.ros2rag.compiler.Compiler'
//noinspection GroovyAssignabilityCheck
args
'--outputDir=src/test/02-after-ros2rag/example'
,
args
'--outputDir=src/test/02-after-ros2rag/example'
,
'--inputGrammar=src/test/01-input/example/Example.relast'
,
'--inputGrammar=src/test/01-input/example/Example.relast'
,
'--inputRos2Rag=src/test/01-input/example/Example.ros2rag'
,
'--inputRos2Rag=src/test/01-input/example/Example.ros2rag'
,
...
@@ -96,7 +95,6 @@ task preprocessDefaultOnlyReadTest(type: JavaExec, group: 'verification') {
...
@@ -96,7 +95,6 @@ task preprocessDefaultOnlyReadTest(type: JavaExec, group: 'verification') {
classpath
=
sourceSets
.
main
.
runtimeClasspath
classpath
=
sourceSets
.
main
.
runtimeClasspath
main
=
'org.jastadd.ros2rag.compiler.Compiler'
main
=
'org.jastadd.ros2rag.compiler.Compiler'
//noinspection GroovyAssignabilityCheck
args
'--outputDir=src/test/02-after-ros2rag/defaultOnlyRead'
,
args
'--outputDir=src/test/02-after-ros2rag/defaultOnlyRead'
,
'--inputGrammar=src/test/01-input/defaultOnlyRead/Example.relast'
,
'--inputGrammar=src/test/01-input/defaultOnlyRead/Example.relast'
,
'--inputRos2Rag=src/test/01-input/defaultOnlyRead/Example.ros2rag'
,
'--inputRos2Rag=src/test/01-input/defaultOnlyRead/Example.ros2rag'
,
...
@@ -127,7 +125,6 @@ task preprocessDefaultOnlyWriteTest(type: JavaExec, group: 'verification') {
...
@@ -127,7 +125,6 @@ task preprocessDefaultOnlyWriteTest(type: JavaExec, group: 'verification') {
classpath
=
sourceSets
.
main
.
runtimeClasspath
classpath
=
sourceSets
.
main
.
runtimeClasspath
main
=
'org.jastadd.ros2rag.compiler.Compiler'
main
=
'org.jastadd.ros2rag.compiler.Compiler'
//noinspection GroovyAssignabilityCheck
args
'--outputDir=src/test/02-after-ros2rag/defaultOnlyWrite'
,
args
'--outputDir=src/test/02-after-ros2rag/defaultOnlyWrite'
,
'--inputGrammar=src/test/01-input/defaultOnlyWrite/Example.relast'
,
'--inputGrammar=src/test/01-input/defaultOnlyWrite/Example.relast'
,
'--inputRos2Rag=src/test/01-input/defaultOnlyWrite/Example.ros2rag'
,
'--inputRos2Rag=src/test/01-input/defaultOnlyWrite/Example.ros2rag'
,
...
@@ -149,7 +146,7 @@ task compileDefaultOnlyWriteTest(type: RelastTest) {
...
@@ -149,7 +146,7 @@ task compileDefaultOnlyWriteTest(type: RelastTest) {
test
.
dependsOn
compileDefaultOnlyWriteTest
test
.
dependsOn
compileDefaultOnlyWriteTest
compileDefaultOnlyWriteTest
.
dependsOn
preprocessDefaultOnlyWriteTest
compileDefaultOnlyWriteTest
.
dependsOn
preprocessDefaultOnlyWriteTest
// --- Test: read
-1-
write
-
2 ---
// --- Test: read
1
write2 ---
task
preprocessRead1Write2Test
(
type:
JavaExec
,
group:
'verification'
)
{
task
preprocessRead1Write2Test
(
type:
JavaExec
,
group:
'verification'
)
{
doFirst
{
doFirst
{
delete
'src/test/02-after-ros2rag/read1write2/Grammar.relast'
,
delete
'src/test/02-after-ros2rag/read1write2/Grammar.relast'
,
...
@@ -159,11 +156,10 @@ task preprocessRead1Write2Test(type: JavaExec, group: 'verification') {
...
@@ -159,11 +156,10 @@ task preprocessRead1Write2Test(type: JavaExec, group: 'verification') {
classpath
=
sourceSets
.
main
.
runtimeClasspath
classpath
=
sourceSets
.
main
.
runtimeClasspath
main
=
'org.jastadd.ros2rag.compiler.Compiler'
main
=
'org.jastadd.ros2rag.compiler.Compiler'
//noinspection GroovyAssignabilityCheck
args
'--outputDir=src/test/02-after-ros2rag/read1write2'
,
args
'--outputDir=src/test/02-after-ros2rag/read1write2'
,
'--inputGrammar=src/test/01-input/read1write2/Example.relast'
,
'--inputGrammar=src/test/01-input/read1write2/Example.relast'
,
'--inputRos2Rag=src/test/01-input/read1write2/Example.ros2rag'
,
'--inputRos2Rag=src/test/01-input/read1write2/Example.ros2rag'
,
'--rootNode=A'
,
'--verbose'
,
'--rootNode=A'
,
'--logReads'
,
'--logWrites'
'--logReads'
,
'--logWrites'
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment