From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6C56E89F24 for ; Wed, 17 Feb 2021 07:37:48 +0000 (UTC) Date: Wed, 17 Feb 2021 09:37:57 +0200 From: Petri Latvala Message-ID: References: <20210216202557.878778-1-martin.peres@mupuf.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210216202557.878778-1-martin.peres@mupuf.org> Subject: Re: [igt-dev] [PATCH i-g-t v3 1/2] amdgpu/basic: move amdgpu_query_info_test to its own file List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: Martin Peres Cc: Development mailing list for IGT GPU Tools , Bas Nieuwenhuizen List-ID: On Tue, Feb 16, 2021 at 10:25:56PM +0200, Martin Peres wrote: > This will soon be followed by more amd_query_info tests, and the basic > file is already big-enough. > > v2: > - add test and subtest descriptions (Arek) > - add the new file to autotools (Petri) > > Cc: Bas Nieuwenhuizen > Signed-off-by: Martin Peres > --- > tests/Makefile.sources | 1 + > tests/amdgpu/amd_basic.c | 17 --------- > tests/amdgpu/amd_info.c | 74 ++++++++++++++++++++++++++++++++++++++++ > tests/amdgpu/meson.build | 1 + > 4 files changed, 76 insertions(+), 17 deletions(-) > create mode 100644 tests/amdgpu/amd_info.c Fails to link with autotools: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/7354371 /usr/bin/ld: amdgpu/amd_info.o: in function `query_firmware_version_test': /builds/gfx-ci/igt-ci-tags/tests/amdgpu/amd_info.c:39: undefined reference to `amdgpu_query_gpu_info' /usr/bin/ld: /builds/gfx-ci/igt-ci-tags/tests/amdgpu/amd_info.c:42: undefined reference to `amdgpu_query_firmware_version' /usr/bin/ld: amdgpu/amd_info.o: in function `query_timestamp_test': /builds/gfx-ci/igt-ci-tags/tests/amdgpu/amd_info.c:58: undefined reference to `amdgpu_query_gpu_info' /usr/bin/ld: /builds/gfx-ci/igt-ci-tags/tests/amdgpu/amd_info.c:72: undefined reference to `amdgpu_query_info' /usr/bin/ld: /builds/gfx-ci/igt-ci-tags/tests/amdgpu/amd_info.c:77: undefined reference to `amdgpu_query_info' /usr/bin/ld: amdgpu/amd_info.o: in function `__real_main118': /builds/gfx-ci/igt-ci-tags/tests/amdgpu/amd_info.c:150: undefined reference to `amdgpu_device_deinitialize' /usr/bin/ld: /builds/gfx-ci/igt-ci-tags/tests/amdgpu/amd_info.c:128: undefined reference to `amdgpu_device_initialize' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:3204: amdgpu/amd_info] Error 1 make[3]: Leaving directory '/builds/gfx-ci/igt-ci-tags/tests' make[2]: *** [Makefile:5190: all-recursive] Error 1 make[2]: Leaving directory '/builds/gfx-ci/igt-ci-tags/tests' make[1]: *** [Makefile:515: all-recursive] Error 1 make[1]: Leaving directory '/builds/gfx-ci/igt-ci-tags' make: *** [Makefile:447: all] Error 2 -- Petri Latvala _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev