tests: Add POPT_CFLAGS to gen-ust-events-ns and gen-ns-events
authorKienan Stewart <kstewart@efficios.com>
Thu, 21 Sep 2023 15:49:27 +0000 (11:49 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 21 Dec 2023 21:38:35 +0000 (16:38 -0500)
commit765280660b3e6cabb64dab70eb54eda18ee3fd08
treeab8da203472b6ee81b5a4863b168d49b4d183179
parentcdcf8972424da5cba4c0210d7fdfa2e7123aa748
tests: Add POPT_CFLAGS to gen-ust-events-ns and gen-ns-events

Observed issue
==============

When building in an environment where popt was in a non-standard
location, the builds for these two test binaries failed with the
following error:

```
gen-ns-events.cpp:19:10: fatal error: popt.h: No such file or directory
   19 | #include <popt.h>
      |          ^~~~~~~~
```

Solution
========

Set the binary-specific CPPFLAGS in the `Makefile.am`

Known drawbacks
===============

None

Change-Id: I5563e24f330be86d630c68c32eaafaedf53a6c87
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/utils/testapp/gen-ns-events/Makefile.am
tests/utils/testapp/gen-ust-events-ns/Makefile.am
This page took 0.025152 seconds and 4 git commands to generate.