* pass CEPH_BIN env variable if necessary
* do not 'make' unless necessary
* use `cmake --build` as developer might be using some different cmake
generator for building ceph.
Signed-off-by: Kefu Chai <kchai@redhat.com>
def test_list(self):
self.check_no_arg('config-key', 'list')
+
# Local Variables:
-# compile-command: "cd ../.. ; make -j4 &&
-# PYTHONPATH=pybind nosetests --stop \
-# test/pybind/test_ceph_argparse.py # test_ceph_argparse.py:TestOSD.test_rm"
+# compile-command: "cd ../../..; cmake --build build --target get_command_descriptions -j4 &&
+# CEPH_BIN=build/bin \
+# PYTHONPATH=src/pybind nosetests --stop \
+# src/test/pybind/test_ceph_argparse.py:TestOSD.test_rm"
# End:
dw = DaemonWatcher(None)
# Can't count on having a tty available during tests, so only test the false case
self.assertEqual(dw.supports_color(StringIO()), False)
+
# Local Variables:
-# compile-command: "cd ../.. ; make -j4 &&
-# PYTHONPATH=pybind nosetests --stop \
-# test/pybind/test_ceph_daemon.py
+# compile-command: "cd ../../..;
+# PYTHONPATH=src/pybind nosetests --stop \
+# src/test/pybind/test_ceph_daemon.py"
# End: