All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Peres <martin.peres@mupuf.org>
To: Petri Latvala <petri.latvala@intel.com>
Cc: Development mailing list for IGT GPU Tools
	<igt-dev@lists.freedesktop.org>,
	Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Subject: Re: [igt-dev] [PATCH i-g-t v3 1/2] amdgpu/basic: move amdgpu_query_info_test to its own file
Date: Wed, 17 Feb 2021 13:43:31 +0200	[thread overview]
Message-ID: <a5f1752e-e75a-b0ed-e876-48da7a15d9a9@mupuf.org> (raw)
In-Reply-To: <YCzH1S+9epMh4bKr@platvala-desk.ger.corp.intel.com>

On 17/02/2021 09:37, Petri Latvala wrote:
> 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 <bas@basnieuwenhuizen.nl>
>> Signed-off-by: Martin Peres <martin.peres@mupuf.org>
>> ---
>>   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
> 
> 

RRRrrr, I tried to make this work without being to compile it, as 
autoconf 2.71 broke backwards compatibility, and simple fixes would not 
make it work.

However, Petri suggested I fork the project in gitlab, and let the 
pipelines to prove it works at least on Debian. I am glad to report this 
is now done, and we are ready for v4...

Let's hope it will work. Thanks for the feedback!

Martin
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

      reply	other threads:[~2021-02-17 11:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-16 20:25 [igt-dev] [PATCH i-g-t v3 1/2] amdgpu/basic: move amdgpu_query_info_test to its own file Martin Peres
2021-02-16 20:25 ` [igt-dev] [PATCH i-g-t v3 2/2] amdgpu/info: add timestamp-related tests Martin Peres
2021-02-17  7:24   ` Petri Latvala
2021-02-17 11:41     ` Martin Peres
2021-02-16 21:17 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,v3,1/2] amdgpu/basic: move amdgpu_query_info_test to its own file Patchwork
2021-02-16 22:21 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2021-02-17  7:37 ` [igt-dev] [PATCH i-g-t v3 1/2] " Petri Latvala
2021-02-17 11:43   ` Martin Peres [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a5f1752e-e75a-b0ed-e876-48da7a15d9a9@mupuf.org \
    --to=martin.peres@mupuf.org \
    --cc=bas@basnieuwenhuizen.nl \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=petri.latvala@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.