[nodejs-deep-equal] Actually run tests

Jamie Nguyen jamielinux at fedoraproject.org
Sun Oct 26 08:16:10 UTC 2014


commit 8766c19d4ad13f14977f352c25b122e67b284eea
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sun Oct 26 08:13:17 2014 +0000

    Actually run tests

 nodejs-deep-equal.spec |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/nodejs-deep-equal.spec b/nodejs-deep-equal.spec
index 7d787fe..05eddf1 100644
--- a/nodejs-deep-equal.spec
+++ b/nodejs-deep-equal.spec
@@ -4,7 +4,7 @@
 
 Name:           nodejs-deep-equal
 Version:        0.2.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Node's assert.deepEqual algorithm
 BuildArch:      noarch
 
@@ -44,9 +44,11 @@ cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/deep-equal
 
 %nodejs_symlink_deps
 
-#recursive deps are recursive
-#%%check
-#%%tap test/*.js
+%if 0%{?enable_tests}
+%check
+%nodejs_symlink_deps --check
+%{nodejs_sitelib}/tape/bin/tape test/*.js
+%endif
 
 %clean
 rm -rf %buildroot
@@ -57,6 +59,9 @@ rm -rf %buildroot
 %doc LICENSE readme.markdown example/
 
 %changelog
+* Sun Oct 26 2014 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.2.1-2
+- actually run the tests
+
 * Sun Oct 26 2014 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.2.1-1
 - update to upstream release 0.2.1
 - include LICENSE file


More information about the scm-commits mailing list