Add release build to RocksDB per-diff/post-commit tests

Summary: To make sure that we'll have additional verification for release builds, define a new category and add `make release` to per-diff/post-commit tests. This should in theory prevent the release MyRocks integration builds breaks from happening.

Test Plan:
- `[p]arc diff --preview`
- Observe the execution in Sandcastle and make sure that release build and tests are executed.

Reviewers: sdong

Reviewed By: sdong

Subscribers: andrewkr, dhruba

Differential Revision: https://reviews.facebook.net/D60441
main
Gunnar Kudrjavets 9 years ago
parent 907f24d0e1
commit 61dbfbb6ce
  1. 2
      arcanist_util/config/RocksDBCommonHelper.php
  2. 1
      build_tools/error_filter.py
  3. 23
      build_tools/rocksdb-lego-determinator

@ -224,7 +224,7 @@ function getSandcastleConfig() {
// Manually list of tests we want to run in Sandcastle.
$tests = array(
"unit", "unit_481", "clang_unit", "tsan", "asan", "lite_test",
"valgrind"
"valgrind", "release"
);
}

@ -117,6 +117,7 @@ class TsanErrorParser(MatchErrorParser):
_TEST_NAME_TO_PARSERS = {
'punit': [CompilerErrorParser, GTestErrorParser],
'unit': [CompilerErrorParser, GTestErrorParser],
'release': [CompilerErrorParser, GTestErrorParser],
'unit_481': [CompilerErrorParser, GTestErrorParser],
'clang_unit': [CompilerErrorParser, GTestErrorParser],
'clang_analyze': [CompilerErrorParser, ScanBuildErrorParser],

@ -146,6 +146,26 @@ UNIT_TEST_COMMANDS="[
}
]"
#
# RocksDB release build and unit tests
#
RELEASE_UNIT_TEST_COMMANDS="[
{
'name':'Rocksdb Release Unit Test',
'oncall':'$ONCALL',
'steps': [
$CLEANUP_ENV,
{
'name':'Build and test RocksDB debug version',
'shell':'$SHM $DEBUG make J=1 release',
'user':'root',
$PARSER
},
],
$REPORT
}
]"
#
# RocksDB unit test on gcc-4.8.1
#
@ -665,6 +685,9 @@ case $1 in
unit)
echo $UNIT_TEST_COMMANDS
;;
release)
echo $RELEASE_UNIT_TEST_COMMANDS
;;
unit_481)
echo $UNIT_TEST_COMMANDS_481
;;

Loading…
Cancel
Save