Using clang for internal ubsan tests (#5952)

Summary:
Using clang for internal ubsan tests.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5952

Differential Revision: D18048810

Pulled By: vjnadimpalli

fbshipit-source-id: ae55677a1928397b067e972d0ecb4ac1b7e2c8dc
main
Vijay Nadimpalli 5 years ago committed by Facebook Github Bot
parent 27a124571f
commit 5677f4f775
  1. 6
      build_tools/rocksdb-lego-determinator

@ -553,7 +553,7 @@ UBSAN_TEST_COMMANDS="[
$CLEANUP_ENV, $CLEANUP_ENV,
{ {
'name':'Test RocksDB debug under UBSAN', 'name':'Test RocksDB debug under UBSAN',
'shell':'set -o pipefail && $SHM $UBSAN $DEBUG make $PARALLELISM ubsan_check || $CONTRUN_NAME=ubsan_check $TASK_CREATION_TOOL', 'shell':'set -o pipefail && $SHM $UBSAN $CLANG $DEBUG make $PARALLELISM ubsan_check || $CONTRUN_NAME=ubsan_check $TASK_CREATION_TOOL',
'user':'root', 'user':'root',
$PARSER $PARSER
} }
@ -576,7 +576,7 @@ UBSAN_CRASH_TEST_COMMANDS="[
{ {
'name':'Build and run RocksDB debug ubsan_crash_test', 'name':'Build and run RocksDB debug ubsan_crash_test',
'timeout': 86400, 'timeout': 86400,
'shell':'$SHM $DEBUG $NON_TSAN_CRASH make J=1 ubsan_crash_test || $CONTRUN_NAME=ubsan_crash_test $TASK_CREATION_TOOL', 'shell':'$SHM $DEBUG $NON_TSAN_CRASH $CLANG make J=1 ubsan_crash_test || $CONTRUN_NAME=ubsan_crash_test $TASK_CREATION_TOOL',
'user':'root', 'user':'root',
$PARSER $PARSER
}, },
@ -599,7 +599,7 @@ UBSAN_CRASH_TEST_WITH_ATOMIC_FLUSH_COMMANDS="[
{ {
'name':'Build and run RocksDB debug ubsan_crash_test_with_atomic_flush', 'name':'Build and run RocksDB debug ubsan_crash_test_with_atomic_flush',
'timeout': 86400, 'timeout': 86400,
'shell':'$SHM $DEBUG $NON_TSAN_CRASH make J=1 ubsan_crash_test_with_atomic_flush || $CONTRUN_NAME=ubsan_crash_test_with_atomic_flush $TASK_CREATION_TOOL', 'shell':'$SHM $DEBUG $NON_TSAN_CRASH $CLANG make J=1 ubsan_crash_test_with_atomic_flush || $CONTRUN_NAME=ubsan_crash_test_with_atomic_flush $TASK_CREATION_TOOL',
'user':'root', 'user':'root',
$PARSER $PARSER
}, },

Loading…
Cancel
Save