Accepting request 825342 from devel:languages:python
- do mysql shutdown even if testsuite fails, exit 1 afterwards OBS-URL: https://build.opensuse.org/request/show/825342 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mysqlclient?expand=0&rev=10
This commit is contained in:
commit
ca3a5a8081
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 4 07:18:37 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
- do mysql shutdown even if testsuite fails, exit 1 afterwards
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 5 13:33:30 UTC 2020 - Kristyna Streitova <kstreitova@suse.com>
|
||||
|
||||
|
@ -82,17 +82,17 @@ cconf=abuild-myclient.cnf
|
||||
#
|
||||
# start the mariadb server
|
||||
#
|
||||
%mysql_testserver_start -u auth_db_user -p auth_db_pass
|
||||
%mysql_testserver_start -u auth_db_user -p auth_db_pass -d test_database
|
||||
#
|
||||
# creating client mysql config
|
||||
#
|
||||
%mysql_testserver_cconf -n $cconf
|
||||
%mysql_testserver_cconf -n $cconf -d test_database
|
||||
#
|
||||
# running the test
|
||||
#
|
||||
rm -r MySQLdb
|
||||
export TESTDB="$PWD/$cconf"
|
||||
%pytest_arch -k "not (test_LONG or test_TEXT)"
|
||||
%pytest_arch -k "not (test_LONG or test_TEXT)" || exit_code=1
|
||||
#
|
||||
# stopping mariadb
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user