Bug #21523 my_atomic-t subtest fails in make test
Submitted: 8 Aug 2006 20:49 Modified: 18 Aug 2006 19:28
Reporter: Patrick Galbraith Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:Ver 5.1.12-beta-debug OS:Linux (Suse Linux, AMD 64)
Assigned to: Sergei Golubchik CPU Architecture:Any

[8 Aug 2006 20:49] Patrick Galbraith
Description:
during make test in latest 5.1 tree, I encounter a failure 

patg@govinda:~/mysql-build/mysql-5.1-clean2> make test
cd unittest && make test
make[1]: Entering directory `/home/patg/mysql-build/mysql-5.1-clean2/unittest'
./unit run mytap mysys
Running tests: mytap mysys
mytap/t/basic-t.....ok
        2/5 skipped: Sensa fragoli
mysys/bitmap-t......ok
mysys/my_atomic-t...my_atomic-t: my_atomic.c:39: my_atomic_initialize: Assertion `sizeof(intptr) == sizeof(void *)' failed.
mysys/my_atomic-t...dubious
        Test returned status 0 (wstat 6, 0x6)
mysys/base64-t......ok
Failed Test       Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
mysys/my_atomic-t    0     6    ??   ??       %  ??
2 subtests skipped.
Failed 1/4 test scripts, 75.00% okay. 0/3028 subtests failed, 100.00% okay.
make[1]: *** [test] Error 255
make[1]: Leaving directory `/home/patg/mysql-build/mysql-5.1-clean2/unittest'
make: *** [test-unit] Error 2

This does not fail on 32-bit linux (tested on production).

How to repeat:
build and compile clone of mysql 5.1, run 'make test'
[10 Aug 2006 12:14] Sergei Golubchik
pushed in 5.1-runtime