Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ProB Rodin Plugin
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
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
general
stups
ProB Rodin Plugin
Commits
fe287ca8
Commit
fe287ca8
authored
12 years ago
by
birkhoff
Browse files
Options
Downloads
Patches
Plain Diff
Mac specific test options
parent
d43ab31e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tycho_build.gradle
+28
-13
28 additions, 13 deletions
tycho_build.gradle
with
28 additions
and
13 deletions
tycho_build.gradle
+
28
−
13
View file @
fe287ca8
import
org.apache.tools.ant.taskdefs.condition.Os
/*
/*
Build Script can be executed via 'gradle install'
Build Script can be executed via 'gradle install'
Build Script Dependencies can be downloaded via 'gradle collectDepenencies'
Build Script Dependencies can be downloaded via 'gradle collectDepenencies'
...
@@ -599,11 +600,25 @@ task tycho(dependsOn: [createPoms] , type:Exec) {
...
@@ -599,11 +600,25 @@ task tycho(dependsOn: [createPoms] , type:Exec) {
<plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
<!-- <useUIHarness>true</useUIHarness> -->
<!-- <useUIThread>true</useUIThread> -->
${macTestArguments()}
<!-- <product>org.rodinp.platform.product</product> -->
</configuration>
</plugin>
</plugin>
</plugins>
</plugins>
</build>
</build>
"""
}
"""
}
String
macTestArguments
()
{
if
(
Os
.
isFamily
(
Os
.
FAMILY_MAC
)
){
return
"<argLine>-XstartOnFirstThread</argLine>\n"
}
else
{
return
"\n"
}
}
def
start
()
{
"""<?xml version="1.0" encoding="UTF-8"?>
def
start
()
{
"""<?xml version="1.0" encoding="UTF-8"?>
<project
<project
...
...
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