File: start-ruby-tests.sh

package info (click to toggle)
vym 2.9.598-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,176 kB
  • sloc: cpp: 44,856; ruby: 2,181; xml: 667; sh: 70; makefile: 17
file content (21 lines) | stat: -rwxr-xr-x 272 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

SRCDIR=test
OLDDIR=$(pwd)

VYMTESTDIR=$(mktemp -d /tmp/vym-test-XXXX)

echo Created $VYMTESTDIR

vym  -l -t -n test  -geometry 768x576-0+0 &

PID=$!

cd $SRCDIR

vym-test.rb -d $VYMTESTDIR

kill -s 15 $PID
echo To clean up, do: rm -rf $VYMTESTDIR

cd $OLDDIR