Adding sandcastle determinator for RocksDB
Summary: This fuels commands to be executed for different sandcastle jobs. This is a nice way to separate RocksDB specific commands from Sandcastle specific job definition. Test Plan: None. Will be tested when we add Sandcastle job. Reviewers: igor, sdong Reviewed By: sdong Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D45741
This commit is contained in:
parent
027ca5b2cd
commit
57b3a87731
30
build_tools/rocksdb-lego-determinator
Executable file
30
build_tools/rocksdb-lego-determinator
Executable file
@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
# This script is executed by Sandcastle
|
||||
# to determine next steps to run
|
||||
|
||||
UNIT_TEST_COMMANDS="[
|
||||
{
|
||||
'name':'Rocksdb Unit Test',
|
||||
'steps': [
|
||||
{
|
||||
'name':'Build RocksDB',
|
||||
'shell':'ROCKSDB_FBCODE_BUILD_WITH_481=1 make clean all',
|
||||
'user':'root'
|
||||
},
|
||||
{
|
||||
'name':'Test RocksDB',
|
||||
'shell':'make J=1 check',
|
||||
'user':'root'
|
||||
}
|
||||
],
|
||||
}
|
||||
]"
|
||||
|
||||
case $1 in
|
||||
unit)
|
||||
echo $UNIT_TEST_COMMANDS
|
||||
;;
|
||||
*)
|
||||
echo $UNIT_TEST_COMMANDS
|
||||
;;
|
||||
esac
|
Loading…
x
Reference in New Issue
Block a user