lkml.org 
[lkml]   [2018]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] selftests: sparc64: Fix to do nothing on non-sparc64
From
Date
Thanks, Shuah!

Tom


On 06/12/2018 05:23 PM, Shuah Khan (Samsung OSG) wrote:
> sparc64 test fails with the following errors on non-sparc64 systems. Fix
> the Makefile to do nothing on non-sparc64 systems to suppress the errors:
>
> make run_tests
> adi-test.c: Assembler messages:
> adi-test.c:302: Error: no such instruction: `rd %tick,%r13'
> adi-test.c:304: Error: no such instruction: `rd %tick,%rbp'
> adi-test.c:190: Error: no such instruction: `rd %tick,%rbp'
> adi-test.c:192: Error: no such instruction: `rd %tick,%rdx'
> adi-test.c:273: Error: no such instruction: `rd %tick,%rbx'
> adi-test.c:276: Error: no such instruction: `rd %tick,%rdx'
> adi-test.c:217: Error: no such instruction: `rd %tick,%rbp'
> adi-test.c:220: Error: no such instruction: `rd %tick,%rdx'
> adi-test.c:79: Error: no such instruction: `rd %tick,%rax'
> adi-test.c:79: Error: no such instruction: `rd %tick,%rax'
> adi-test.c:79: Error: no such instruction: `rd %tick,%rax'
> adi-test.c:79: Error: no such instruction: `rd %tick,%rax'
> adi-test.c:246: Error: no such instruction: `rd %tick,%rbp'
> adi-test.c:248: Error: no such instruction: `rd %tick,%rdx'
> adi-test.c:79: Error: no such instruction: `rd %tick,%rax'
> adi-test.c:79: Error: no such instruction: `rd %tick,%rax'
> adi-test.c:79: Error: no such instruction: `rd %tick,%rax'
> <builtin>: recipe for target 'adi-test' failed
> make[1]: *** [adi-test] Error 1
> adi: [FAIL]
> ./drivers_test.sh: 24: ./drivers_test.sh: ./adi-test: not found
> ../lib.mk:73: recipe for target 'run_tests' failed
> make: *** [run_tests] Error 1
>
> Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>

Reviewed-by: Tom Hromatka <tom.hromatka@oracle.com>

\
 
 \ /
  Last update: 2018-06-13 19:21    [W:0.038 / U:6.824 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site