Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
2124a252
...
2124a252fafe9144afed37faa32f697c4e251f78
authored
2013-12-16 19:33:13 -0700
by
hexid
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Run cli tests and jshint with the dotNET travis jobs
1 parent
16d6e2b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
Makefile
tests/clitests/runtests.py
Makefile
View file @
2124a25
.PHONY
:
default test test-dotNET docs selftest compile-dotNET selftest-dotNET clitest jshint
.PHONY
:
default test test-dotNET docs selftest compile-dotNET selftest-dotNET clitest
clitest-dotNET
jshint
default
:
test
test
:
selftest clitest jshint
test-dotNET
:
compile-dotNET selftest-dotNET
test-dotNET
:
compile-dotNET selftest-dotNET
jshint clitest-dotNET
docs
:
sphinx-build -b html ./docs docs/_build
...
...
@@ -21,5 +21,8 @@ selftest-dotNET:
clitest
:
python tests/clitests/runtests.py
clitest-dotNET
:
python tests/clitests/runtests.py casperjs.exe
jshint
:
jshint .
...
...
tests/clitests/runtests.py
View file @
2124a25
...
...
@@ -5,10 +5,12 @@ import os
import
signal
import
subprocess
import
unittest
import
sys
TEST_ROOT
=
os
.
path
.
abspath
(
os
.
path
.
dirname
(
__file__
))
CASPERJS_ROOT
=
os
.
path
.
abspath
(
os
.
path
.
join
(
TEST_ROOT
,
'..'
,
'..'
))
CASPER_EXEC
=
os
.
path
.
join
(
CASPERJS_ROOT
,
'bin'
,
'casperjs'
)
CASPER_EXEC_FILE
=
sys
.
argv
[
1
]
if
(
len
(
sys
.
argv
)
==
2
)
else
'casperjs'
CASPER_EXEC
=
os
.
path
.
join
(
CASPERJS_ROOT
,
'bin'
,
CASPER_EXEC_FILE
)
ENGINE_EXEC
=
os
.
environ
.
get
(
'ENGINE_EXECUTABLE'
,
os
.
environ
.
get
(
'PHANTOMJS_EXECUTABLE'
,
"phantomjs"
))
...
...
@@ -434,4 +436,5 @@ class XUnitReportTest(CasperExecTestBase):
self
.
assertTrue
(
os
.
path
.
exists
(
self
.
XUNIT_LOG
))
if
__name__
==
'__main__'
:
del
sys
.
argv
[
1
:]
unittest
.
main
()
...
...
Please
register
or
sign in
to post a comment