forked from takisd123/executequery
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refs/heads/master' into stable
# Conflicts: # modules/plugins/fbplugin-impl/pom.xml # modules/plugins/fbplugin-impl5/pom.xml # modules/plugins/fbplugin/pom.xml # modules/plugins/procedure-parser/pom.xml # modules/plugins/sql-parser/pom.xml # modules/plugins/sqlLexer/pom.xml # modules/plugins/trace-parser/pom.xml # modules/redexpert/pom.xml # pom.xml # src/org/executequery/eq.system.properties # src/org/executequery/release_notes_en.html # src/org/executequery/release_notes_ru.html
- Loading branch information
Showing
1,249 changed files
with
21,390 additions
and
67,953 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
set -e | ||
set -x | ||
|
||
echo "Install and run DBMS" | ||
|
||
function die() | ||
{ | ||
echo "$1" | ||
exit 1 | ||
} | ||
|
||
echo "Installing" | ||
chmod +x ./installer.bin | ||
./installer.bin --mode unattended --sysdba_password masterkey --architecture Super || die "Unable to install server" | ||
|
||
|
||
echo "Starting guardian" | ||
PIDDIR=/var/run/reddatabase/ | ||
PIDFILE=$PIDDIR/default.pid | ||
mkdir -p "$PIDDIR" | ||
/opt/RedDatabase/bin/rdbguard -daemon -guardpidfile $PIDFILE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/bin/bash | ||
set -e | ||
set -x | ||
|
||
|
||
function die() | ||
{ | ||
echo "$1" | ||
exit 1 | ||
} | ||
|
||
function check_variable() | ||
{ | ||
eval val='$'$1 | ||
[ "$val" != "" ] || die "$1 not defined" | ||
} | ||
|
||
check_variable ARCH | ||
check_variable WORKSPACE | ||
check_variable DISTRO | ||
check_variable PYTHON | ||
check_variable DBMS | ||
|
||
echo "Downloading tests" | ||
git clone -q http://git.red-soft.biz/red-database/re-tests-robot | ||
|
||
echo "Installing components" | ||
$PYTHON -m pip install git+http://git.red-soft.biz/red-database/python/red-database-python-driver.git | ||
$PYTHON -m pip install robotframework | ||
|
||
export PYTHONPATH=$PYTHONPATH:/root/remoteswinglibrary-2.3.3.jar | ||
export DISPLAY=:0 | ||
su reduser -c 'xhost +' | ||
|
||
echo "Start testing" | ||
cd re-tests-robot | ||
$PYTHON -m robot -x results.xml --nostatusrc ./tests | ||
|
||
echo "Copy test results" | ||
mkdir "${WORKSPACE}/test-results/" | ||
cp results.xml "${WORKSPACE}/test-results/${DISTRO}-${DBMS}-${ARCH}.xml" | ||
cp log.html "${WORKSPACE}/test-results/${DISTRO}-${DBMS}-${ARCH}-log.html" | ||
cp report.html "${WORKSPACE}/test-results/${DISTRO}-${DBMS}-${ARCH}-report.html" |
Oops, something went wrong.