added tests to main build

Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/a5cb27e7
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/a5cb27e7
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/a5cb27e7

Branch: refs/heads/javascript
Commit: a5cb27e7319cd3f2177e5c9ce90716aeca737225
Parents: 726a49b
Author: Rafael Schloming <[email protected]>
Authored: Fri Nov 28 07:44:34 2014 -0500
Committer: Rafael Schloming <[email protected]>
Committed: Fri Nov 28 07:44:34 2014 -0500

----------------------------------------------------------------------
 proton-c/CMakeLists.txt     | 5 +++++
 tests/javascript/codec.js   | 0
 tests/javascript/message.js | 0
 3 files changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/a5cb27e7/proton-c/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/proton-c/CMakeLists.txt b/proton-c/CMakeLists.txt
index 7872801..27bebcc 100644
--- a/proton-c/CMakeLists.txt
+++ b/proton-c/CMakeLists.txt
@@ -553,5 +553,10 @@ endif (RUBY_EXE)
 
 mark_as_advanced (RUBY_EXE RSPEC_EXE)
 
+if (BUILD_JAVASCRIPT)
+  add_test (javascript-codec ${PYTHON_EXECUTABLE} ${env_py} node 
${pn_test_root}/javascript/codec.js)
+  add_test (javascript-message ${PYTHON_EXECUTABLE} ${env_py} node 
${pn_test_root}/javascript/message.js)
+endif (BUILD_JAVASCRIPT)
+
 # build examples to make sure they still work
 add_subdirectory(../examples ../examples)

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/a5cb27e7/tests/javascript/codec.js
----------------------------------------------------------------------
diff --git a/tests/javascript/codec.js b/tests/javascript/codec.js
old mode 100644
new mode 100755

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/a5cb27e7/tests/javascript/message.js
----------------------------------------------------------------------
diff --git a/tests/javascript/message.js b/tests/javascript/message.js
old mode 100644
new mode 100755


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to