Re: [PATCH] Add regression tests of ecpg command notice (error / warning) - Mailing list pgsql-hackers

From Jacob Champion
Subject Re: [PATCH] Add regression tests of ecpg command notice (error / warning)
Date
Msg-id CAOYmi+ks8wO06Ymxduw2h_eQJ_D4_jHGeyMK0P=p5Q3psnEdMA@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Add regression tests of ecpg command notice (error / warning)  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Responses Re: [PATCH] Add regression tests of ecpg command notice (error / warning)
List pgsql-hackers
On Mon, Mar 3, 2025 at 10:02 PM Fujii Masao <masao.fujii@oss.nttdata.com> wrote:
> I've pushed the patch. Thanks!

Hi all,

> +tests += {
> +  'name': 'ecpg',
> +  'sd': meson.current_source_dir(),
> +  'bd': meson.current_build_dir(),
> +  'tap': {
> +    'tests': [
> +      't/001_ecpg_err_warn_msg.pl',
> +      't/002_ecpg_err_warn_msg_informix.pl',
> +    ],
> +    'deps': ecpg_exe,
> +  },
> +}

My version of Meson is complaining about this use of 'deps':

    ../meson.build:3603: WARNING: Project targets '>=0.54' but uses
feature introduced in '0.60.0': list.<plus>. The right hand operand
was not a list.
    Adding test "ecpg/001_ecpg_err_warn_msg"
    ...

ecpg_exe should perhaps be wrapped in a list for now? I.e.

    -    'deps': ecpg_exe,
    +    'deps': [ecpg_exe],

Thanks,
--Jacob



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Snapshot related assert failure on skink
Next
From: Tom Lane
Date:
Subject: Re: scalability bottlenecks with (many) partitions (and more)