diff --git a/autotest.sh b/autotest.sh
index 0d84fff12c488497728459b14467898624223ea6..8e99c8f0ca9937e055ae9621e6e0b481c5a02196 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -90,7 +90,7 @@ if [ "$1" ]; then
 fi
 
 # check for the presence of @since in all OCP methods
-$PHP tests/OCPSinceChecker.php
+$PHP build/OCPSinceChecker.php
 
 # Back up existing (dev) config if one exists and backup not already there
 if [ -f config/config.php ] && [ ! -f config/config-autotest-backup.php ]; then
diff --git a/tests/OCPSinceChecker.php b/build/OCPSinceChecker.php
similarity index 100%
rename from tests/OCPSinceChecker.php
rename to build/OCPSinceChecker.php