Skip to content
Snippets Groups Projects
  • bigbes's avatar
    2f89b591
    Merge branch 'stable' · 2f89b591
    bigbes authored
    Conflicts:
    	test/module/net_sql.common.lua
    	test/module/net_sql.common.result
    	test/module/net_sql.common.test
    	test/module/net_sql.mysql.lua
    	test/module/net_sql.mysql.result
    	test/module/net_sql.mysql.skipcond
    	test/module/net_sql.mysql.test
    	test/module/net_sql.pg.lua
    	test/module/net_sql.pg.result
    	test/module/net_sql.pg.skipcond
    	test/module/net_sql.pg.test
    	test/test-run.py
    2f89b591
    History
    Merge branch 'stable'
    bigbes authored
    Conflicts:
    	test/module/net_sql.common.lua
    	test/module/net_sql.common.result
    	test/module/net_sql.common.test
    	test/module/net_sql.mysql.lua
    	test/module/net_sql.mysql.result
    	test/module/net_sql.mysql.skipcond
    	test/module/net_sql.mysql.test
    	test/module/net_sql.pg.lua
    	test/module/net_sql.pg.result
    	test/module/net_sql.pg.skipcond
    	test/module/net_sql.pg.test
    	test/test-run.py
net_sql.mysql.skipcond 333 B
import os
import os.path

try:
    (host, port, user, password, db) = os.getenv('MYSQL').split(':')
    if not os.path.exists(os.path.join(self.args.builddir, 'src/module/mysql/mysql.so')):
        raise RuntimeError('No MySQL module found')
except (RuntimeError, TypeError, NameError, AttributeError, ValueError):
    self.skip = 1