Index: uspace/drv/rootvirt/devices.def
===================================================================
--- uspace/drv/rootvirt/devices.def	(revision c245f16e32b7e3ef731e81556156d471431b6bb9)
+++ uspace/drv/rootvirt/devices.def	(revision c0bd08d13ec5f4a113b4a8f25fbbb456b69a1cd2)
@@ -4,4 +4,5 @@
  * Unless the list is empty, the last item shall be followed by a comma.
  */
+#ifdef CONFIG_TEST_DRIVERS
 {
 	.name = "test1",
@@ -16,2 +17,3 @@
 	.match_id = "virtual&test2"
 },
+#endif
