Merge branch 'fix/make_example_pnm1pupscling_pass_ctest' into 'master'
[example] Fix cmake file to prevent the plot in ctest causing time out
See merge request !3552
(cherry picked from commit 77accf3b)
d793f848 [example] Fix cmake file to prevent the plot in ctest causing time out