mihaibudiu commented on code in PR #3145: URL: https://github.com/apache/calcite/pull/3145#discussion_r1186545906
########## slt/src/main/java/org/apache/calcite/slt/Main1.java: ########## @@ -0,0 +1,77 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to you under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.calcite.slt; + +import java.io.IOException; +import java.io.PrintStream; +import java.net.URL; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; + +import net.hydromatic.sqllogictest.ExecutionOptions; +import net.hydromatic.sqllogictest.executors.HsqldbExecutor; +import net.hydromatic.sqllogictest.executors.NoExecutor; +import net.hydromatic.sqllogictest.TestLoader; + +import org.apache.calcite.slt.executors.CalciteExecutor; + +/** + * Execute all SqlLogicTest tests. + */ +public class Main1 { Review Comment: It contains the 'main' entry point. I am not sure how SLT will be used by Calcite yet, so the plan was to provide an executable that people could run to find bugs. Until the bugs it finds are fixed I don't know exactly how it can be integrated in the test suite. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
