Skip to content

partest --help mentions ant option but runs all categories #10377

@janekdb

Description

@janekdb
Branch
2.12

partest --help includes ant

Usage: ConsoleRunner [options] [test test ...]

  Test categories:
    pos          run compilation tests (success)
    neg          run compilation tests (failure)
    run          run interpreter and backend tests
    jvm          run JVM backend tests
    res          run resident compiler tests
    ant          run Ant tests
    scalap       run scalap tests
    specialized  run specialization tests
    instrumented run instrumented tests
    presentation run presentation compiler tests

There is no ant directory anymore but partest does not complain

Partest version:     
Compiler under test: $baseDir/compiler
Scala version is:    Scala compiler version 2.12.3-20170517-080245-b69ed17 -- Copyright 2002-2017, LAMP/EPFL and Lightbend, Inc.
....
Selected 4389 tests drawn from 9 named test categories

# starting 1409 tests in pos

Fix starts here: https://github.com/scala/scala-partest/blob/d68f47a101d1658659cfc562fd0231416894f2c2/src/main/scala/scala/tools/partest/nest/RunnerSpec.scala

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions