mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 1255476 - Task that runs the spidermonkey gdb integration tests, r=garndt
--HG-- extra : rebase_source : 0ed31770417ced2a6993f132adb452d05c35209b
This commit is contained in:
parent
8cbe50c347
commit
918d2244d1
@ -241,7 +241,7 @@ set +e
|
||||
for arg in "${REQ_TESTS[@]}"; do
|
||||
[[ $arg == skip-* ]]
|
||||
select=$? # 0 means skip-TEST, 1 means TEST
|
||||
if [[ $arg = all ]]; then
|
||||
if [[ ${arg#skip-} = all ]]; then
|
||||
for t in "${!TESTS[@]}"; do
|
||||
TESTS[$t]=$select
|
||||
done
|
||||
@ -251,6 +251,9 @@ for arg in "${REQ_TESTS[@]}"; do
|
||||
done
|
||||
set -e
|
||||
|
||||
# Dump out the final set of tests
|
||||
declare -p TESTS
|
||||
|
||||
RESULT=0
|
||||
|
||||
if [ ${TESTS[check]} = 1 ]; then
|
||||
|
24
testing/taskcluster/scripts/builder/build-sm-gdb.sh
Executable file
24
testing/taskcluster/scripts/builder/build-sm-gdb.sh
Executable file
@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Run Spidermonkey's gdb integration tests
|
||||
|
||||
set -x
|
||||
|
||||
. $(dirname $0)/sm-setup.sh
|
||||
|
||||
: ${SPIDERMONKEY_VARIANT:=plaindebug}
|
||||
|
||||
cd $WORK
|
||||
|
||||
# Run the script
|
||||
|
||||
$SRCDIR/js/src/devtools/automation/autospider.sh --skip-test all --test gdb $SPIDERMONKEY_VARIANT
|
||||
BUILD_STATUS=$?
|
||||
|
||||
# Ensure upload dir exists
|
||||
mkdir -p $UPLOAD_DIR
|
||||
|
||||
# Copy artifacts for upload by TaskCluster
|
||||
cp -rL $SRCDIR/obj-spider/dist/bin/{gdb-tests,gdb-tests-gdb.py,js-gdb.py} $UPLOAD_DIR
|
||||
|
||||
exit $BUILD_STATUS
|
@ -135,6 +135,12 @@ builds:
|
||||
task: tasks/builds/sm_warnaserr.yml
|
||||
debug:
|
||||
task: tasks/builds/sm_warnaserrdebug.yml
|
||||
sm-gdb:
|
||||
platforms:
|
||||
- Linux64
|
||||
types:
|
||||
debug:
|
||||
task: tasks/builds/sm_gdb.yml
|
||||
|
||||
post-build:
|
||||
upload-symbols:
|
||||
|
17
testing/taskcluster/tasks/builds/sm_gdb.yml
Normal file
17
testing/taskcluster/tasks/builds/sm_gdb.yml
Normal file
@ -0,0 +1,17 @@
|
||||
$inherits:
|
||||
from: 'tasks/builds/sm_base.yml'
|
||||
variables:
|
||||
build_name: 'sm-gdb'
|
||||
build_type: 'debug'
|
||||
task:
|
||||
payload:
|
||||
command: ["/bin/bash", "-c", "cd /home/worker/ && ./bin/checkout-sources.sh && ./workspace/build/src/testing/taskcluster/scripts/builder/build-sm-gdb.sh" ]
|
||||
metadata:
|
||||
name: '[TC] Spidermonkey GDB Tests'
|
||||
description: 'Spidermonkey GDB Tests'
|
||||
extra:
|
||||
treeherder:
|
||||
symbol: gdb
|
||||
locations:
|
||||
build: null
|
||||
tests: null
|
Loading…
Reference in New Issue
Block a user