owncloud / client

🖥️ Desktop Syncing Client for ownCloud
GNU General Public License v2.0
1.4k stars 664 forks source link

about test scripts,how to run ??? #2017

Closed yxy654321 closed 10 years ago

yxy654321 commented 10 years ago

scripts in mirall/test dirctroty is used to test Mirall ??

these test scripts run on linux or windows ?in other words,these test scripts test owncloud(run on linux) or test owncloud.exe(run on windows). or both?

how to run these scripts ? what is the test principle ???


bogon:/home/yxy/mirall/test/scripts # ./torture_gen_layout.pl aaa.lay Can't locate Data/Random/WordList.pm in @INC (you may need to install the Data::Random::WordList module) (@INC contains: /usr/lib/perl5/site_perl/5.18.1/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.18.1 /usr/lib/perl5/vendor_perl/5.18.1/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.18.1 /usr/lib/perl5/5.18.1/i586-linux-thread-multi /usr/lib/perl5/5.18.1 /usr/lib/perl5/site_perl .) at ./torture_gen_layout.pl line 16.

BEGIN failed--compilation aborted at ./torture_gen_layout.pl line 16.

could you help me thank you very very much

dragotin commented 10 years ago

The test scripts run on linux only until now, but they can run on windows and mac as well, since they only use perl and the ownCloudcmd tool.

Your problem happens because you miss required perl modules for the word list.

Please seek out for help like this on IRC or developer mailinglist, not the bug tracker. Thx.