2009/8/18 Maciej Bliziński <maciej.blizin...@gmail.com>: > > I'm trying to run facter tests against sources pulled from git. I'm > guessing I need to issue 'rake' from the top facter sources > repository. I'm getting: > > mac...@solaris /export/home/maciej/src/facter $ git pull > Already up-to-date. > mac...@solaris /export/home/maciej/src/facter $ rake > (in /export/home/maciej/src/facter) > ./lib/facter.rb:30: warning: already initialized constant > FACTERVERSION > ./lib/facter.rb:48: warning: already initialized constant GREEN > ./lib/facter.rb:49: warning: already initialized constant RESET > ./lib/facter.rb:54: warning: redefine collection > ./lib/facter.rb:62: warning: redefine version > ./lib/facter.rb:67: warning: redefine debug > ./lib/facter.rb:78: warning: redefine [] > ./lib/facter.rb:100: warning: redefine add > ./lib/facter.rb:104: warning: redefine each > ./lib/facter.rb:116: warning: method redefined; discarding old > method_missing > ./lib/facter.rb:145: warning: redefine clear > ./lib/facter.rb:151: warning: redefine debugging > ./lib/facter.rb:177: warning: redefine reset > ./lib/facter.rb:182: warning: redefine loadfacts > ./lib/facter.rb:189: warning: redefine search > ./lib/facter.rb:194: warning: redefine search_path > rake aborted! > Don't know how to build task 'default' > > (See full trace by running task with --trace) > mac...@solaris /export/home/maciej/src/facter $ rake --version > rake, version 0.8.7 > > Do you have any hints on how to run the tests?
I tend to run from the spec dir or use autotest: cd spec rake wfm Finished in 4.424296 seconds 186 examples, 0 failures Paul --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---