summaryrefslogtreecommitdiffstats
path: root/qa/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'qa/CMakeLists.txt')
-rw-r--r--qa/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/qa/CMakeLists.txt b/qa/CMakeLists.txt
new file mode 100644
index 000000000..fd95d8383
--- /dev/null
+++ b/qa/CMakeLists.txt
@@ -0,0 +1,9 @@
+set(CEPH_BUILD_VIRTUALENV $ENV{TMPDIR})
+if(NOT CEPH_BUILD_VIRTUALENV)
+ set(CEPH_BUILD_VIRTUALENV ${CMAKE_BINARY_DIR})
+endif()
+
+if(WITH_TESTS)
+ include(AddCephTest)
+ add_tox_test(qa TOX_ENVS py3 flake8)
+endif()