Skip to content
Snippets Groups Projects
Commit 0e35f90a authored by Mick Jordan's avatar Mick Jordan
Browse files

Add long pkginstall

parent 56464f71
Branches
No related tags found
No related merge requests found
......@@ -63,9 +63,10 @@ pkgtest: ${common} ${java8Downloads} {
# tries to install a (default) number of packages previously known not to install
# TODO how to find the path to the ok.packages directory?
pkginstall: ${common} ${java8Downloads} {
timelimit : "3:00:00"
timelimit : "6:00:00"
run : [
["mx", "test", "--invert.pkgs", "--print-ok-installs", ]
["mx", "build"]
["mx", "pkgtest", "--invert.pkgs", "--print-ok-installs", "--install-dependents-first", "--pkg-count", "1000"]
]
}
......@@ -74,4 +75,5 @@ builds = [
${gateStyle} {capabilities : [linux, amd64, gate], name: "gate-style-linux-amd64"}
# ${gateTest} {capabilities : [linux, sparcv9, gate], name: "gate-test-linux-sparcv9"}
${pkgtest} {capabilities : [linux, amd64, gate], name: "pkgtest-test-linux-amd64"}
${pkginstall} {capabilities : [linux, amd64, gate], name: "pkginstall-test-linux-amd64"}
]
\ No newline at end of file
......@@ -34,7 +34,7 @@ def pkgtest(args):
# sundry options understood by installpkgs R code
parser.add_argument('--pkg-count', action='store', help='number of packages to install/test', default='100')
parser.add_argument('--ignore-blacklist', action='store_true', help='pass --ignore-blacklist')
parser.add_argument('--install-dependents', action='store_true', help='pass -install-dependents')
parser.add_argument('--install-dependents-first', action='store_true', help='pass -install-dependents-first')
parser.add_argument('--print-ok-installs', action='store_true', help='pass --print-ok-installs')
args = parser.parse_args(args)
......@@ -57,8 +57,8 @@ def pkgtest(args):
install_args += ['--run-tests']
if args.ignore_blacklist:
install_args += ['--ignore-blacklist']
if args.install_dependents:
install_args += ['--install-dependents']
if args.install_dependents_first:
install_args += ['--install-dependents-first']
if args.print_ok_installs:
install_args += ['--print-ok-installs']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment