~jan-kneschke/mysql-proxy/packet-tracking-assertions

« back to all changes in this revision

Viewing changes to tests/suite/CMakeLists.txt

  • Committer: Kay Roepke
  • Author(s): Jan Kneschke
  • Date: 2008-01-23 22:00:28 UTC
  • Revision ID: kay@mysql.com-20080123220028-hq2xqb69apa75fnx
first round on mysql-shell based on the proxy code

this is mostly a verification if the proxy-code is flexible enough to handle 
all three scenarios of: client, server and forwarding (proxy)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## only run the tests if we have lua somewhere 
2
 
#
3
 
# for now this is unix specific as we use env-vars and shell-scripts
4
 
IF(LUA_EXECUTABLE AND UNIX )
5
 
        CONFIGURE_FILE(
6
 
                ${CMAKE_CURRENT_SOURCE_DIR}/lua-tests-wrapper.sh.in 
7
 
                ${CMAKE_CURRENT_BINARY_DIR}/lua-tests-wrapper.sh
8
 
                @ONLY)
9
 
        ADD_TEST(lua-tests/base 
10
 
                sh -x ${CMAKE_CURRENT_BINARY_DIR}/lua-tests-wrapper.sh 
11
 
                ${LUA_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/run-tests.lua ${CMAKE_CURRENT_SOURCE_DIR}/base)
12
 
ENDIF(LUA_EXECUTABLE AND UNIX )