Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
82c07b17
Commit
82c07b17
authored
Jun 11, 2021
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-25288 follow-up: Remove traces of unstable-tests
parent
f4943b4a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
19 deletions
+8
-19
.travis.yml
.travis.yml
+0
-1
appveyor.yml
appveyor.yml
+1
-1
debian/mariadb-test-data.install
debian/mariadb-test-data.install
+0
-1
debian/rules
debian/rules
+2
-7
debian/tests/upstream
debian/tests/upstream
+1
-2
mysql-test/README
mysql-test/README
+4
-7
No files found.
.travis.yml
View file @
82c07b17
...
...
@@ -224,7 +224,6 @@ script:
-
cd mysql-test
-
travis_wait 30 ./mtr --force --max-test-fail=20 --parallel=4 --testcase-timeout=${TEST_CASE_TIMEOUT}
--suite=${MYSQL_TEST_SUITES}
--skip-test-list=unstable-tests
--skip-test=binlog.binlog_unsafe
after_script
:
...
...
appveyor.yml
View file @
82c07b17
...
...
@@ -16,6 +16,6 @@ platform: x64
test_script
:
-
set PATH=C:\Strawberry\perl\bin;%PATH%;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64
-
cd %APPVEYOR_BUILD_FOLDER%\win_build\mysql-test
-
perl mysql-test-run.pl --force --max-test-fail=10 --parallel=4 --testcase-timeout=10 --s
kip-test-list=unstable-tests --s
uite=main
-
perl mysql-test-run.pl --force --max-test-fail=10 --parallel=4 --testcase-timeout=10 --suite=main
image
:
Visual Studio
2019
debian/mariadb-test-data.install
View file @
82c07b17
...
...
@@ -4,4 +4,3 @@ usr/share/mysql/mysql-test/main
usr
/
share
/
mysql
/
mysql
-
test
/
plugin
usr
/
share
/
mysql
/
mysql
-
test
/
std_data
usr
/
share
/
mysql
/
mysql
-
test
/
suite
usr
/
share
/
mysql
/
mysql
-
test
/
unstable
-
tests
debian/rules
View file @
82c07b17
...
...
@@ -74,11 +74,7 @@ override_dh_auto_clean:
@echo "RULES.$@"
dh_testdir
dh_testroot
rm -rf $(BUILDDIR) builddir-native
[ ! -f debian/mysql-test-unstable-tests.orig ] || \
mv debian/mysql-test-unstable-tests.orig mysql-test/unstable-tests
rm -rf $(BUILDDIR) builddir-native mysql-test/unstable-tests
debconf-updatepo # Update po-files when clean runs before each build
override_dh_auto_configure:
...
...
@@ -121,8 +117,7 @@ override_dh_auto_build:
override_dh_auto_test:
@echo "RULES.$@"
dh_testdir
# Skip unstable tests if such are defined for arch
cp mysql-test/unstable-tests debian/mysql-test-unstable-tests.orig
touch mysql-test/unstable-tests
[ ! -f debian/unstable-tests.$(DEB_HOST_ARCH) ] || cat debian/unstable-tests.$(DEB_HOST_ARCH) >> mysql-test/unstable-tests
# Run testsuite
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
...
...
debian/tests/upstream
View file @
82c07b17
...
...
@@ -22,8 +22,7 @@ echo "using tmpdir: $WORKDIR/tmp"
echo
"Setting up skip-tests-list"
# Use unstable-tests list as base to skip all tests considered unstable
cp
/usr/share/mysql/mysql-test/unstable-tests
$SKIP_TEST_LST
touch
$SKIP_TEST_LST
# Also use arch specific skiplists if such files exist
for
filename
in
/usr/share/mysql/mysql-test/unstable-tests.
*
...
...
mysql-test/README
View file @
82c07b17
...
...
@@ -2,10 +2,8 @@ This directory contains test suites for the MariaDB server. To run
currently existing test cases, execute ./mysql-test-run in this directory.
Some tests are known to fail on some platforms or be otherwise unreliable.
The file "unstable-tests" contains the list of such tests along with
a comment for every test.
To exclude them from the test run, execute
# ./mysql-test-run --skip-test-list=unstable-tests
In the file collections/smoke_test there is a list of tests that are
expected to be stable.
In general you do not have to have to do "make install", and you can have
a co-existing MariaDB installation, the tests will not conflict with it.
...
...
@@ -15,7 +13,7 @@ In Red Hat distributions, you should run the script as user "mysql".
The user is created with nologin shell, so the best bet is something like
# su -
# cd /usr/share/mysql-test
# su -s /bin/bash mysql -c
"./mysql-test-run --skip-test-list=unstable-tests"
# su -s /bin/bash mysql -c
./mysql-test-run
This will use the installed MariaDB executables, but will run a private
copy of the server process (using data files within /usr/share/mysql-test),
...
...
@@ -27,8 +25,7 @@ the listed failures occur for you.
To clean up afterwards, remove the created "var" subdirectory, e.g.
# su -s /bin/bash - mysql -c "rm -rf /usr/share/mysql-test/var"
If one or more tests fail on your system on reasons other than listed
in lists of unstable tests, please read the following manual section
If tests fail on your system, please read the following manual section
for instructions on how to report the problem:
https://mariadb.com/kb/en/reporting-bugs
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment