t/crypt_load.t
raw| 1 | BEGIN { |
| 2 | $| = 1; print "1..1\n"; |
| 3 | eval "use Crypt::SSLeay;"; |
| 4 | if ( $@ ) { |
| 5 | print "ok 1 # Skipped: Crypt::SSLeay is not installed\n"; exit; |
| 6 | } |
| 7 | $Business::OnlinePayment::HTTPS::skip_NetSSLeay=1; |
| 8 | $Business::OnlinePayment::HTTPS::skip_NetSSLeay=1; |
| 9 | } |
| 10 | END {print "not ok 1\n" unless $loaded;} |
| 11 | use Business::OnlinePayment::OpenECHO; |
| 12 | $loaded = 1; |
| 13 | print "ok 1\n"; |