From 3dc509fb754f05aff13c22e86af8ac5e73b2085f Mon Sep 17 00:00:00 2001 From: Damian Rouson Date: Wed, 30 Oct 2024 13:43:56 -0700 Subject: [PATCH] fix(test): use feature-based macro --- test/main.F90 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/main.F90 b/test/main.F90 index b4a97fa98..47e6fd78f 100644 --- a/test/main.F90 +++ b/test/main.F90 @@ -1,5 +1,8 @@ ! Copyright (c), The Regents of the University of California ! Terms of use are as specified in LICENSE.txt + +#include "language-support.F90" + program main use neural_network_test_m, only : neural_network_test_t use asymmetric_network_test_m, only : asymmetric_network_test_t @@ -59,7 +62,7 @@ program main print *,"Test suite execution time: ",t_finish - t_start print * print '(*(a,:,g0))',"_________ In total, ",passes," of ",tests, " tests pass. _________" -#ifndef __flang__ +#ifdef MULTI_IMAGE_SUPPORT sync all #endif print *