mirror of
https://github.com/apache/impala.git
synced 2026-01-01 18:00:30 -05:00
With this change the Python tests will now be called as part of buildall and the corresponding Java tests have been disabled. The new tests can also be invoked calling ./tests/run-tests.sh directly. This includes a fix from Nong that caused wrong results for limit on non-io manager formats.
26 lines
734 B
Python
26 lines
734 B
Python
#!/usr/bin/env python
|
|
# Copyright (c) 2012 Cloudera, Inc. All rights reserved.
|
|
#
|
|
# The base class that should be used for tests.
|
|
import logging
|
|
import os
|
|
import pytest
|
|
from tests.common.test_dimensions import *
|
|
from tests.common.test_result_verifier import *
|
|
from tests.common.test_vector import *
|
|
LOG = logging.getLogger('base_test_suite')
|
|
|
|
# Base class for tests.
|
|
class BaseTestSuite(object):
|
|
TestMatrix = TestMatrix()
|
|
|
|
@classmethod
|
|
def add_test_dimensions(cls):
|
|
"""
|
|
A hook for adding additional dimensions.
|
|
|
|
By default load the table_info and exec_option dimensions, but if a test wants to
|
|
add more dimensions or different dimensions they can override this function.
|
|
"""
|
|
cls.TestMatrix = TestMatrix()
|