Cycle tests should not be run on CI
authorBrian Aker <brian@tangent.org>
Mon, 22 Oct 2012 02:46:12 +0000 (22:46 -0400)
committerBrian Aker <brian@tangent.org>
Mon, 22 Oct 2012 02:46:12 +0000 (22:46 -0400)
tests/cycle.cc

index cfaccb7ed8188899af6207477218d2c93d2f7ec5..2ec42463e20a285505b88fa428c59b7eeae1a272 100644 (file)
@@ -120,6 +120,12 @@ collection_st collection[] ={
 
 static void *world_create(server_startup_st& servers, test_return_t& error)
 {
+  if (jenkins_is_caller())
+  {
+    error= TEST_SKIPPED;
+    return NULL;
+  }
+
   if (libtest::has_memcached() == false)
   {
     error= TEST_SKIPPED;