57b3a87731
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
31 lines
603 B
Bash
Executable File
31 lines
603 B
Bash
Executable File
#!/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
|