whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Debug for Travis
Date Thu, 28 Nov 2019 21:10:09 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new f86b928  Debug for Travis
f86b928 is described below

commit f86b928d16289c652759a33511136c8796d15a67
Author: Sebb <sebb@apache.org>
AuthorDate: Thu Nov 28 21:10:00 2019 +0000

    Debug for Travis
---
 lib/spec/lib/icla_spec.rb | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/lib/spec/lib/icla_spec.rb b/lib/spec/lib/icla_spec.rb
index 3ff6c7d..4893f04 100644
--- a/lib/spec/lib/icla_spec.rb
+++ b/lib/spec/lib/icla_spec.rb
@@ -11,8 +11,14 @@ set_svn 'iclas' # only works with test data as real entry names should
not be pu
 # ab/        abc.pdf    abcd/      abcd.pdf   abcde/
 
 describe ASF::ICLAFiles do
-  
-  describe "ASF::ICLAFiles.match_claRef" do
+  #+ Debug for Travis
+  dir = ASF::SVN['iclas']
+  puts dir
+  abcl = Dir[File.join(dir,'abc*')].length
+  puts abcl
+  condition = abcl == 4
+  #- Debug 
+  describe "ASF::ICLAFiles.match_claRef", :if => condition do
     it "should return nil for 'xyz'" do
       res = ASF::ICLAFiles.match_claRef('xyz')
       expect(res).to equal(nil)


Mime
View raw message