]> granicus.if.org Git - postgresql/commitdiff
Fix msvc/ecpg_regression.proj for recent ECPG test additions.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Mar 2018 02:36:19 +0000 (22:36 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Mar 2018 02:36:19 +0000 (22:36 -0400)
Commit 3b7ab4380 added some tests that require ecpg to be given the
new "-C ORACLE" switch.  Teach the MSVC build infrastructure about
that.

Michael Paquier

Discussion: https://postgr.es/m/8299.1521154647@sss.pgh.pa.us

src/tools/msvc/ecpg_regression.proj

index 745aa19e1b7418136e6300bcb6bc540648921283..9fa4a6902162a1dbc154a7e6775fc463e659f424 100644 (file)
@@ -33,6 +33,9 @@
   <CreateProperty Value="-C INFORMIX -r no_indicator" Condition="'%(Pgc.FileName)'=='rnull'">
    <Output TaskParameter="Value" PropertyName="ECPGPARAM" />
   </CreateProperty>
+  <CreateProperty Value="-C ORACLE" Condition="'%(Pgc.RelativeDir)'=='$(TESTDIR)\compat_oracle\'">
+   <Output TaskParameter="Value" PropertyName="ECPGPARAM" />
+  </CreateProperty>
   <CreateProperty Value="-c" Condition="'%(Pgc.FileName)'=='array_of_struct'">
    <Output TaskParameter="Value" PropertyName="ECPGPARAM" />
   </CreateProperty>