Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
QueryR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Julien Lopez
QueryR
Commits
43f1cac9
Commit
43f1cac9
authored
8 years ago
by
Mick Jordan
Browse files
Options
Downloads
Patches
Plain Diff
pkgtest: fix for count.daily; revert ci.hocon
parent
f963da53
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ci.hocon
+0
-36
0 additions, 36 deletions
ci.hocon
com.oracle.truffle.r.test.cran/r/install.cran.packages.R
+1
-1
1 addition, 1 deletion
com.oracle.truffle.r.test.cran/r/install.cran.packages.R
with
1 addition
and
37 deletions
ci.hocon
+
0
−
36
View file @
43f1cac9
...
@@ -51,44 +51,8 @@ gateStyle : ${common} {
...
@@ -51,44 +51,8 @@ gateStyle : ${common} {
# currently disabled gate commands: FindBugs,Checkheaders,Distribution Overlap Check,BuildJavaWithEcj
# currently disabled gate commands: FindBugs,Checkheaders,Distribution Overlap Check,BuildJavaWithEcj
# tests a (default) number of packages known to install correctly
pkgtest
:
${
common
}
${
java8Downloads
}
{
timelimit
:
"3:00:00"
setup
:
[
[
"git"
,
"clone"
,
"--depth"
,
"1"
,
${
repoBase
}
"gnur.git"
,
"../gnur"
]
]
run
:
[
[
"mx"
,
"-v"
,
"--dynamicimport"
,
"gnur"
,
"build"
,
"--serial"
]
[
"mx"
,
"--dynamicimport"
,
"gnur"
,
"pkgtest"
,
"--print-ok-installs"
,
"--ok-only"
]
]
}
# tests a (default) number of packages known to install correctly
pkgtestDaily
:
${
common
}
${
java8Downloads
}
{
timelimit
:
"3:00:00"
setup
:
[
[
"git"
,
"clone"
,
"--depth"
,
"1"
,
${
repoBase
}
"gnur.git"
,
"../gnur"
]
]
run
:
[
[
"mx"
,
"-v"
,
"--dynamicimport"
,
"gnur"
,
"build"
,
"--serial"
]
[
"mx"
,
"--dynamicimport"
,
"gnur"
,
"pkgtest"
,
"--print-ok-installs"
,
"--count-daily"
,
"100"
]
]
}
# tries to install a (default) number of packages previously known not to install
pkginstall
:
${
common
}
${
java8Downloads
}
{
timelimit
:
"6:00:00"
run
:
[
[
"mx"
,
"build"
]
[
"mx"
,
"pkgtest"
,
"--invert-pkgset"
,
"--ok-only"
,
"--install-only"
,
"--print-ok-installs"
,
"--install-dependents-first"
,
"--pkg-count"
,
"1000"
]
]
}
builds
=
[
builds
=
[
${
gateTest
}
{
capabilities
:
[
linux
,
amd
64
,
gate
,
post-merge
],
name
:
"gate-test-linux-amd64"
}
${
gateTest
}
{
capabilities
:
[
linux
,
amd
64
,
gate
,
post-merge
],
name
:
"gate-test-linux-amd64"
}
${
gateStyle
}
{
capabilities
:
[
linux
,
amd
64
,
gate
,
post-merge
],
name
:
"gate-style-linux-amd64"
}
${
gateStyle
}
{
capabilities
:
[
linux
,
amd
64
,
gate
,
post-merge
],
name
:
"gate-style-linux-amd64"
}
# ${gateTest} {capabilities : [linux, sparcv9, gate, post-merge], name: "gate-test-linux-sparcv9"}
# ${gateTest} {capabilities : [linux, sparcv9, gate, post-merge], name: "gate-test-linux-sparcv9"}
# ${pkgtest} {capabilities : [linux, amd64, gate], name: "pkgtest-linux-amd64"}
${
pkgtestDaily
}
{
capabilities
:
[
linux
,
amd
64
,
gate
],
name
:
"pkgtest-daily-linux-amd64"
}
# ${pkginstall} {capabilities : [linux, amd64, gate], name: "pkginstall-linux-amd64"}
]
]
This diff is collapsed.
Click to expand it.
com.oracle.truffle.r.test.cran/r/install.cran.packages.R
+
1
−
1
View file @
43f1cac9
...
@@ -499,7 +499,7 @@ do.it <- function() {
...
@@ -499,7 +499,7 @@ do.it <- function() {
yday
<-
as.POSIXlt
(
Sys.Date
())
$
yday
yday
<-
as.POSIXlt
(
Sys.Date
())
$
yday
chunk
<-
as.integer
(
npkgs
/
count.daily
)
chunk
<-
as.integer
(
npkgs
/
count.daily
)
start
<-
(
yday
%%
chunk
)
*
count.daily
start
<-
(
yday
%%
chunk
)
*
count.daily
end
<-
ifelse
(
start
+
count.daily
>
npkgs
,
npkgs
,
start
+
count.daily
)
end
<-
ifelse
(
start
+
count.daily
>
npkgs
,
npkgs
,
start
+
count.daily
-
1
)
test.pkgnames
<-
test.pkgnames
[
start
:
end
]
test.pkgnames
<-
test.pkgnames
[
start
:
end
]
}
}
}
}
...
...
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