From 581f20fd8b99fe9d31d20e6094316143c47b8adf Mon Sep 17 00:00:00 2001 From: Islam AbdelRahman Date: Mon, 26 Oct 2015 11:50:29 -0700 Subject: [PATCH] Add LITE tests to Legocastle Summary: Update rocksdb-lego-determinator to include running make check under ROCKSDB_LITE Test Plan: will be tested after landing in fbcode Reviewers: sdong, yhchiang, igor, kradhakrishnan Reviewed By: kradhakrishnan Subscribers: dhruba Differential Revision: https://reviews.facebook.net/D49065 --- build_tools/rocksdb-lego-determinator | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/build_tools/rocksdb-lego-determinator b/build_tools/rocksdb-lego-determinator index b48cb65b7..a02b62cb1 100755 --- a/build_tools/rocksdb-lego-determinator +++ b/build_tools/rocksdb-lego-determinator @@ -263,6 +263,26 @@ LITE_BUILD_COMMANDS="[ } ]" +# +# RocksDB lite tests +# +LITE_UNIT_TEST_COMMANDS="[ + { + 'name':'Rocksdb Lite Unit Test', + 'oncall':'$ONCALL', + 'steps': [ + $CLEANUP_ENV, + { + 'name':'Build RocksDB debug version', + 'shell':'$SHM $LITE $DEBUG make J=1 check', + 'user':'root', + $PARSER + }, + ], + $REPORT + } +]" + # # RocksDB stress/crash test # @@ -575,6 +595,9 @@ case $1 in lite) echo $LITE_BUILD_COMMANDS ;; + lite_test) + echo $LITE_UNIT_TEST_COMMANDS + ;; stress_crash) echo $STRESS_CRASH_TEST_COMMANDS ;;