-
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
bigbes authoredConflicts: 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