Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 5bedf9ade16363e52dbe3273e6bb47e8db50d9bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
load(
    "@com_googlesource_gerrit_bazlets//tools:junit.bzl",
    "junit_tests",
)

junit_tests(
    name = "pgm",
    srcs = glob(["tst/**/*.java"]),
    jvm_flags = [
        "-Xmx256m",
        "-Dfile.encoding=UTF-8",
    ],
    tags = ["pgm"],
    deps = [
        ":helpers",
        "//lib:args4j",
        "//lib:commons-compress",
        "//lib:javaewah",
        "//lib:junit",
        "//lib:slf4j-api",
        "//lib:slf4j-simple",
        "//lib:xz",
        "//org.eclipse.jgit.archive:jgit-archive",
        "//org.eclipse.jgit:jgit",
        "//org.eclipse.jgit.junit:junit",
        "//org.eclipse.jgit.pgm:pgm",
    ],
)

java_library(
    name = "helpers",
    testonly = 1,
    srcs = glob(["src/**/*.java"]),
    deps = [
        "//lib:args4j",
        "//lib:junit",
        "//org.eclipse.jgit:jgit",
        "//org.eclipse.jgit.junit:junit",
        "//org.eclipse.jgit.pgm:pgm",
    ],
)

Back to the top