Index: uspace/drv/rootvirt/devices.def
===================================================================
--- uspace/drv/rootvirt/devices.def	(revision c245f16e32b7e3ef731e81556156d471431b6bb9)
+++ uspace/drv/rootvirt/devices.def	(revision 554debd87f844cb5803239317a4c966dbc5079a5)
@@ -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
