Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Update Makefile and require paths in pack tests.

  • Loading branch information...
commit e3923852360f910d9b092c05c9f5f83e8de42dae 1 parent 7e9fb17
Tomaz Muraus authored May 31, 2011
7  Makefile
... ...
@@ -1,11 +1,10 @@
1 1
 CWD=`pwd`
2  
-
3  
-FILES=`find tests -name test-*.js -print0`
  2
+FILES=`find tests/ -name test-*.js | tr "\n" " "`
4 3
 
5 4
 test:
6  
-	NODE_PATH=`pwd`/lib whiskey --tests "${CWD}/${FILES}"
  5
+	NODE_PATH=${CWD}/lib whiskey --tests "${CWD}/${FILES}"
7 6
 
8 7
 coverage:
9  
-	NODE_PATH=`pwd`/lib whiskey --tests "${CWD}/${FILES}" --coverage --coverage-reporter html --coverage-dir coverage_html
  8
+	NODE_PATH=${CWD}/lib whiskey --tests "${CWD}/${FILES}" --coverage --coverage-reporter html --coverage-dir coverage_html
10 9
 
11 10
 .PHONY: test coverage
6  tests/test-pack.js
... ...
@@ -1,6 +1,6 @@
1  
-var ip2long = require('../lib/extern/ip2long');
2  
-var jspack = require('../lib/extern/node-jspack/jspack').jspack;
3  
-var pack = require('../lib/extern/pack').pack;
  1
+var ip2long = require('extern/ip2long');
  2
+var jspack = require('extern/node-jspack/jspack').jspack;
  3
+var pack = require('extern/pack').pack;
4 4
 
5 5
 exports['test_pack_and_unpack'] = function(test, assert) {
6 6
   var ip = '127.0.0.1';

0 notes on commit e392385

Please sign in to comment.
Something went wrong with that request. Please try again.