All of lore.kernel.org
 help / color / mirror / Atom feed
* Some testprograms are no longer runable from CLI???
@ 2016-04-17 19:52 Willem Jan Withagen
  2016-04-18 18:48 ` Gregory Farnum
  0 siblings, 1 reply; 3+ messages in thread
From: Willem Jan Withagen @ 2016-04-17 19:52 UTC (permalink / raw)
  To: Ceph Development

As far as Ik can tell this is due to:
https://github.com/ceph/ceph/commit/1c8cd003600953ee1f469fc91be1b0cc4b4f7fa7

Author: Ali Maredia <amaredia@redhat.com>
Date:   Wed Jan 13 14:40:22 2016 -0500

     cmake: erasure-code tests passing

     Replaced relative paths in test-erausure-eio.sh
     test-erasure-code.sh, and replaced .libs in
     erasure_code unittests with CEPH_VAR environment
     variables set in cmake.

     Signed-off-by: Ali Maredia <amaredia@redhat.com>

=============

Lots of scripts now contain the header:
source $CEPH_ROOT/qa/workunits/ceph-helpers.sh

Which was uptill this commit not required to be set.

As far as I can tell other "required" Shell varaibles might be:

../cmake/modules/AddCephTest.cmake:    CEPH_ROOT=${CMAKE_SOURCE_DIR}
../cmake/modules/AddCephTest.cmake: 
CEPH_BIN=${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
../cmake/modules/AddCephTest.cmake: 
CEPH_LIB=${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
../cmake/modules/AddCephTest.cmake:    CEPH_BUILD_DIR=${CMAKE_BINARY_DIR}

It would be nice that if these variables are not set, it is still 
possible to
run the tests from the commandline due to setting defaults to values 
that it had
before these Cmake changes were introducded.

Something like
====
C_ROOT=${CEPH_ROOT:-.}
source $CEPH_ROOT/qa/workunits/ceph-helpers.sh
====
would help quite a bit, and keep things backwards compatible.

Thanx,
--WjW



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-18 21:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-17 19:52 Some testprograms are no longer runable from CLI??? Willem Jan Withagen
2016-04-18 18:48 ` Gregory Farnum
2016-04-18 21:58   ` Ali Maredia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.