Przeglądaj źródła

* include fcl-json in regression tests
* switch extension to .pas for files which shall be ignored
by the regression tests (they are found by the compiler automatically)

florian 4 lat temu
rodzic
commit
2efaee6d85

+ 0 - 0
packages/fcl-json/tests/jsonconftest.pp → packages/fcl-json/tests/jsonconftest.pas


+ 0 - 0
packages/fcl-json/tests/tcjsonini.pp → packages/fcl-json/tests/tcjsonini.pas


+ 0 - 0
packages/fcl-json/tests/tcjsontocode.pp → packages/fcl-json/tests/tcjsontocode.pas


+ 0 - 0
packages/fcl-json/tests/testcomps.pp → packages/fcl-json/tests/testcomps.pas


+ 5 - 5
packages/fcl-json/tests/testjson.lpi

@@ -41,23 +41,23 @@
         <IsPartOfProject Value="True"/>
       </Unit0>
       <Unit1>
-        <Filename Value="testjsonparser.pp"/>
+        <Filename Value="testjsonparser.pas"/>
         <IsPartOfProject Value="True"/>
       </Unit1>
       <Unit2>
-        <Filename Value="testjsondata.pp"/>
+        <Filename Value="testjsondata.pas"/>
         <IsPartOfProject Value="True"/>
       </Unit2>
       <Unit3>
-        <Filename Value="testjsonrtti.pp"/>
+        <Filename Value="testjsonrtti.pas"/>
         <IsPartOfProject Value="True"/>
       </Unit3>
       <Unit4>
-        <Filename Value="../src/fpjsonrtti.pp"/>
+        <Filename Value="../src/fpjsonrtti.pas"/>
         <IsPartOfProject Value="True"/>
       </Unit4>
       <Unit5>
-        <Filename Value="testjsonreader.pp"/>
+        <Filename Value="testjsonreader.pas"/>
         <IsPartOfProject Value="True"/>
       </Unit5>
     </Units>

+ 0 - 0
packages/fcl-json/tests/testjsonconf.pp → packages/fcl-json/tests/testjsonconf.pas


+ 0 - 0
packages/fcl-json/tests/testjsondata.pp → packages/fcl-json/tests/testjsondata.pas


+ 0 - 0
packages/fcl-json/tests/testjsonparser.pp → packages/fcl-json/tests/testjsonparser.pas


+ 0 - 0
packages/fcl-json/tests/testjsonreader.pp → packages/fcl-json/tests/testjsonreader.pas


+ 0 - 0
packages/fcl-json/tests/testjsonrtti.pp → packages/fcl-json/tests/testjsonrtti.pas


+ 1 - 1
tests/Makefile

@@ -2461,7 +2461,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
+TESTPACKAGESDIRECTDIRS=rtl-objpas rtl-generics hash regexpr fcl-registry fcl-passrc fcl-json
 TESTPACKAGESDIRECTSUBDIRS=$(addprefix ../packages/,$(addsuffix /tests,$(TESTPACKAGESDIRECTDIRS)))
 ifdef QUICKTEST
 export QUICKTEST

+ 1 - 1
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
+TESTPACKAGESDIRECTDIRS=rtl-objpas rtl-generics hash regexpr fcl-registry fcl-passrc fcl-json
 TESTPACKAGESDIRECTSUBDIRS=$(addprefix ../packages/,$(addsuffix /tests,$(TESTPACKAGESDIRECTDIRS)))
 
 ifdef QUICKTEST