[Liblas-commits] hg: 2 new changesets

liblas-commits at liblas.org liblas-commits at liblas.org
Fri May 21 11:03:21 EDT 2010


changeset f36d609f4e28 in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=f36d609f4e28
summary: tests should be built by default

changeset d9215b9a9929 in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=d9215b9a9929
summary: ignore not having guid module

diffstat:

 CMakeLists.txt        |  2 +-
 python/tests/GUID.txt |  7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b2a08acdc059 -r d9215b9a9929 CMakeLists.txt
--- a/CMakeLists.txt	Thu May 20 22:16:10 2010 -0500
+++ b/CMakeLists.txt	Fri May 21 10:03:12 2010 -0500
@@ -28,7 +28,7 @@
 
 # Choose package components
 set(WITH_UTILITIES TRUE CACHE BOOL "Choose if libLAS utilities should be built")
-set(WITH_TESTS FALSE CACHE BOOL "Choose if libLAS unit tests should be built")
+set(WITH_TESTS TRUE CACHE BOOL "Choose if libLAS unit tests should be built")
 
 # Enable CTest and submissions to libLAS dashboard at CDash
 # http://my.cdash.org/index.php?project=libLAS
diff -r b2a08acdc059 -r d9215b9a9929 python/tests/GUID.txt
--- a/python/tests/GUID.txt	Thu May 20 22:16:10 2010 -0500
+++ b/python/tests/GUID.txt	Fri May 21 10:03:12 2010 -0500
@@ -16,5 +16,8 @@
   >>> g2 == g3
   True
   
-  >>> import uuid
-  >>> g4 = guid.GUID(key=str(uuid.uuid1()))
+  >>> try:
+  ...     import uuid
+  ...     g4 = guid.GUID(key=str(uuid.uuid1()))
+  ... except ImportError:
+  ...    pass
\ No newline at end of file


More information about the Liblas-commits mailing list