Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: tools/cc-frame-viewer/third_party/gl-matrix/tasks/test/node.rake

Issue 12251005: [cc-frame-viewer] Add gl-matrix to third_party [redux] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/cc-frame-viewer/third_party/gl-matrix/tasks/test/jasmine.rake ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/cc-frame-viewer/third_party/gl-matrix/tasks/test/node.rake
diff --git a/tools/cc-frame-viewer/third_party/gl-matrix/tasks/test/node.rake b/tools/cc-frame-viewer/third_party/gl-matrix/tasks/test/node.rake
new file mode 100644
index 0000000000000000000000000000000000000000..85bc3cb812ac79fd07d8b03f1508228685f50e0d
--- /dev/null
+++ b/tools/cc-frame-viewer/third_party/gl-matrix/tasks/test/node.rake
@@ -0,0 +1,20 @@
+namespace :test do
+ desc "run test suite with node.js"
+ task :node => :build do
+ # make sure jasmine-node exists, and barf if it doesn't
+ if %x['jasmine-node'] =~ /USAGE/
+ unless system 'jasmine-node', base_path.join('spec').to_s
+ raise "node.js tests failed"
+ end
+ else
+ puts "jasmine-node is not available"
+ puts
+ puts "Please run:"
+ puts " npm install -g jasmine-node"
+ puts
+ puts "...and then try again."
+ puts
+ exit
+ end
+ end
+end
« no previous file with comments | « tools/cc-frame-viewer/third_party/gl-matrix/tasks/test/jasmine.rake ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698