Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-1004

Skipt Antlr tests when tests are skipped

    XMLWordPrintable

Details

    Description

      When running

      mvn clean install -DskipTests=true -DskipITs=true -Passembly -Dcheckstyle.skip=true
      

      The Antlr grammar tests are still run:

      [INFO] --- antlr4test-maven-plugin:1.10:test (default) @ debezium-ddl-parser ---
      Parsing :/Users/gunnar/Development/debezium/_detached_build/debezium/debezium-ddl-parser/src/test/resources/mysql/examples/smoke_tests.sql
      Parsing :/Users/gunnar/Development/debezium/_detached_build/debezium/debezium-ddl-parser/src/test/resources/mysql/examples/ext_tests.sql
      Parsing :/Users/gunnar/Development/debezium/_detached_build/debezium/debezium-ddl-parser/src/test/resources/mysql/examples/dml_delete.sql
      Parsing :/Users/gunnar/Development/debezium/_detached_build/debezium/debezium-ddl-parser/src/test/resources/mysql/examples/dml_select.sql
      Parsing :/Users/gunnar/Development/debezium/_detached_build/debezium/debezium-ddl-parser/src/test/resources/mysql/examples/case_sensitive_sql.sql
      Parsing :/Users/gunnar/Development/debezium/_detached_build/debezium/debezium-ddl-parser/src/test/resources/mysql/examples/dml_update.sql
      Parsing :/Users/gunnar/Development/debezium/_detached_build/debezium/debezium-ddl-parser/src/test/resources/mysql/examples/dml_insert.sql
      Parsing :/Users/gunnar/Development/debezium/_detached_build/debezium/debezium-ddl-parser/src/test/resources/mysql/examples/grant.sql
      Parsing :/Users/gunnar/Development/debezium/_detached_build/debezium/debezium-ddl-parser/src/test/resources/mysql/examples/mysql_spec_comment.sql
      Parsing :/Users/gunnar/Development/debezium/_detached_build/debezium/debezium-ddl-parser/src/test/resources/mysql/examples/ddl_drop.sql
      Parsing :/Users/gunnar/Development/debezium/_detached_build/debezium/debezium-ddl-parser/src/test/resources/mysql/examples/dml_replace.sql
      Parsing :/Users/gunnar/Development/debezium/_detached_build/debezium/debezium-ddl-parser/src/test/resources/mysql/examples/ddl_alter.sql
      Parsing :/Users/gunnar/Development/debezium/_detached_build/debezium/debezium-ddl-parser/src/test/resources/mysql/examples/dml_union.sql
      Parsing :/Users/gunnar/Development/debezium/_detached_build/debezium/debezium-ddl-parser/src/test/resources/mysql/examples/bitrix_queries_cut.sql
      Parsing :/Users/gunnar/Development/debezium/_detached_build/debezium/debezium-ddl-parser/src/test/resources/mysql/examples/ddl_create.sql
      

      Would be nice if it could be made to honor -DskipTests=true.

      Attachments

        Activity

          People

            jpechane Jiri Pechanec
            gmorling@redhat.com Gunnar Morling
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: