minor: cleanup bin dir. move any benchmarking files to bench dir.
This commit is contained in:
parent
585f574386
commit
fe9946355f
|
@ -1,11 +0,0 @@
|
|||
# Fail if the C extension module isn't installed.
|
||||
#
|
||||
# Only really intended to be used by internal build scripts.
|
||||
|
||||
require 'rubygems'
|
||||
require 'mongo'
|
||||
begin
|
||||
require 'bson_ext/cbson'
|
||||
rescue LoadError
|
||||
Process.exit 1
|
||||
end
|
|
@ -1,19 +0,0 @@
|
|||
#!/bin/bash
|
||||
# usage: run_test_script test_name output_file
|
||||
#
|
||||
# See http://mongodb.onconfluence.com/display/DOCS/Using+the+Framework+(for+Driver+Developers)
|
||||
|
||||
HERE=`dirname $0`
|
||||
|
||||
if [ ! -f $HERE/../test/mongo-qa/$1 ] ; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
begintime=`date`
|
||||
ruby $HERE/../test/mongo-qa/$1 $3 $4 >> $2
|
||||
exitval=$?
|
||||
endtime=`date`
|
||||
|
||||
echo "begintime:$begintime" >> $2
|
||||
echo "endtime:$endtime" >> $2
|
||||
echo "exit_code:$exitval" >> $2
|
Loading…
Reference in New Issue