diff --git a/packages/fcl-image/tests/tcbarcodes.pp b/packages/fcl-image/tests/tcbarcodes.pas
similarity index 100%
rename from packages/fcl-image/tests/tcbarcodes.pp
rename to packages/fcl-image/tests/tcbarcodes.pas
diff --git a/packages/fcl-image/tests/testfpimage.lpi b/packages/fcl-image/tests/testfpimage.lpi
index c76fd7ff36..a388a81f94 100644
--- a/packages/fcl-image/tests/testfpimage.lpi
+++ b/packages/fcl-image/tests/testfpimage.lpi
@@ -31,7 +31,7 @@
-
+
diff --git a/tests/Makefile b/tests/Makefile
index 6d1fe7d8d9..a8e5f2a04c 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -2224,7 +2224,7 @@ TESTDIRECTDIRS=
TESTSUBDIRS=cg cg/variants cg/cdecl cpu16 cpu16/i8086 library opt $(addprefix units/,$(TESTUNITDIRS))
TESTPACKAGESDIRS=win-base webtbs hash fcl-registry fcl-process zlib fcl-db fcl-xml cocoaint bzip2 fcl-net
TESTPACKAGESUBDIRS=$(addprefix packages/,$(TESTPACKAGESDIRS))
-TESTPACKAGESDIRECTDIRS=rtl-objpas rtl-generics hash regexpr fcl-registry fcl-passrc fcl-json pastojs
+TESTPACKAGESDIRECTDIRS=rtl-objpas rtl-generics hash regexpr fcl-registry fcl-passrc fcl-json fcl-image pastojs
TESTPACKAGESDIRECTSUBDIRS=$(addprefix ../packages/,$(addsuffix /tests,$(TESTPACKAGESDIRECTDIRS)))
ifdef QUICKTEST
export QUICKTEST
diff --git a/tests/Makefile.fpc b/tests/Makefile.fpc
index cb90c77126..1bd01bf776 100644
--- a/tests/Makefile.fpc
+++ b/tests/Makefile.fpc
@@ -164,7 +164,7 @@ TESTDIRECTDIRS=
TESTSUBDIRS=cg cg/variants cg/cdecl cpu16 cpu16/i8086 library opt $(addprefix units/,$(TESTUNITDIRS))
TESTPACKAGESDIRS=win-base webtbs hash fcl-registry fcl-process zlib fcl-db fcl-xml cocoaint bzip2 fcl-net
TESTPACKAGESUBDIRS=$(addprefix packages/,$(TESTPACKAGESDIRS))
-TESTPACKAGESDIRECTDIRS=rtl-objpas rtl-generics hash regexpr fcl-registry fcl-passrc fcl-json pastojs
+TESTPACKAGESDIRECTDIRS=rtl-objpas rtl-generics hash regexpr fcl-registry fcl-passrc fcl-json fcl-image pastojs
TESTPACKAGESDIRECTSUBDIRS=$(addprefix ../packages/,$(addsuffix /tests,$(TESTPACKAGESDIRECTDIRS)))
ifdef QUICKTEST