Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 419c986

Browse files
committed
Merge pull request #12024 from ficristo/jasmine-sh-log
jasmine.sh: add some log to say which platforms are support
2 parents eaca02a + d29a8fe commit 419c986

2 files changed

Lines changed: 20 additions & 2 deletions

File tree

test/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ Running Tests
1111
2 options for running tests:
1212

1313
1. Run brackets-app and click "Run Tests" from the menu (debugging and dev tools **not** supported)
14-
1. Run jasmine.sh or manually run Brackets-app with the argument file://path/to/brackets/test/SpecRunner.html.
14+
1. Run jasmine.sh (only OSX is supported) or manually run Brackets-app with
15+
the argument file://path/to/brackets/test/SpecRunner.html.
16+
1517

1618
Adding New Tests
1719

test/jasmine.sh

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,20 @@ BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2828
echo $BASEDIR
2929

3030
# open the Jasmine SpecRunner
31-
open ${BASEDIR}/../../bin/mac/Brackets.app --args file:///${BASEDIR}/SpecRunner.html
31+
case $OSTYPE in
32+
darwin*)
33+
open ${BASEDIR}/../../bin/mac/Brackets.app --args file:///${BASEDIR}/SpecRunner.html
34+
;;
35+
linux*)
36+
echo Linux Not Yet Implemented
37+
;;
38+
cygwin* | msys | win32 )
39+
echo Windows Not Yet Implemented
40+
;;
41+
freebsd*)
42+
echo FreeBSD Not Yet Implemented
43+
;;
44+
*)
45+
echo Unknown operating system $OSTYPE
46+
;;
47+
esac

0 commit comments

Comments
 (0)