summaryrefslogtreecommitdiff
path: root/swig
diff options
context:
space:
mode:
authorKlaus Kämpf <kkaempf@suse.de>2010-11-09 10:11:35 +0100
committerKlaus Kämpf <kkaempf@suse.de>2010-11-09 10:11:35 +0100
commit04ac988d9c685b562ba1141bf455a5ba047410b6 (patch)
tree8624bc3b0dc9e7c3537888f973dccfc12efa0da6 /swig
parentbc95c939e84e11a29cf82f7e11663c5cd85909cf (diff)
downloadlibzypp-bindings-04ac988d9c685b562ba1141bf455a5ba047410b6.tar.gz
libzypp-bindings-04ac988d9c685b562ba1141bf455a5ba047410b6.tar.bz2
libzypp-bindings-04ac988d9c685b562ba1141bf455a5ba047410b6.zip
Add starting.pl and fix tests
Diffstat (limited to 'swig')
-rw-r--r--swig/perl5/tests/CMakeLists.txt1
-rw-r--r--swig/perl5/tests/loading.pl2
-rw-r--r--swig/perl5/tests/starting.pl2
3 files changed, 3 insertions, 2 deletions
diff --git a/swig/perl5/tests/CMakeLists.txt b/swig/perl5/tests/CMakeLists.txt
index 9056c15..af6e7a7 100644
--- a/swig/perl5/tests/CMakeLists.txt
+++ b/swig/perl5/tests/CMakeLists.txt
@@ -5,3 +5,4 @@
ENABLE_TESTING()
ADD_TEST(bindings_perl_loading perl ${CMAKE_CURRENT_SOURCE_DIR}/loading.pl)
+ADD_TEST(bindings_perl_starting perl ${CMAKE_CURRENT_SOURCE_DIR}/starting.pl)
diff --git a/swig/perl5/tests/loading.pl b/swig/perl5/tests/loading.pl
index 9ad74a3..0f45c2d 100644
--- a/swig/perl5/tests/loading.pl
+++ b/swig/perl5/tests/loading.pl
@@ -1,7 +1,7 @@
#!/usr/bin/perl
use FindBin qw($Bin);
-use lib '$Bin/../../../build/swig/perl5';
+use lib "$Bin/../../../build/swig/perl5";
use zypp;
diff --git a/swig/perl5/tests/starting.pl b/swig/perl5/tests/starting.pl
index acedbe0..09d3954 100644
--- a/swig/perl5/tests/starting.pl
+++ b/swig/perl5/tests/starting.pl
@@ -1,7 +1,7 @@
#!/usr/bin/perl
use FindBin qw($Bin);
-use lib '$Bin/../../../build/swig/perl5';
+use lib "$Bin/../../../build/swig/perl5";
use zypp;