qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to run crypto benchmarks tests?


From: Philippe Mathieu-Daudé
Subject: How to run crypto benchmarks tests?
Date: Wed, 20 Jan 2021 13:50:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0

Hi,

Using the following "build tools and doc" config:

../configure --disable-system --disable-user
                                 ...
                     TLS priority: "NORMAL"
                   GNUTLS support: YES
                        libgcrypt: NO
                           nettle: YES
                              XTS: YES
                         libtasn1: YES
                              PAM: YES
                                 ...

$ make check-help
...
 make check-speed          Run qobject speed tests
...
Test targets:
  check                          - Run all tests (check-help for details)
  bench                          - Run all benchmarks
  docker                         - Help about targets running tests
inside containers

$ make check-speed
make: *** No rule to make target 'bench-speed', needed by 'check-speed'.
 Stop.
$ make bench-speed
make: *** No rule to make target 'bench-speed'.  Stop.
$ make check-bench
make: *** No rule to make target 'check-bench'.  Stop.
$ make bench
make: Nothing to be done for 'bench'.

I want to run these tests:

$ ls -1 tests/test-crypto-*c
tests/test-crypto-afsplit.c
tests/test-crypto-block.c
tests/test-crypto-cipher.c
tests/test-crypto-hash.c
tests/test-crypto-hmac.c
tests/test-crypto-ivgen.c
tests/test-crypto-pbkdf.c
tests/test-crypto-secret.c
tests/test-crypto-tlscredsx509.c
tests/test-crypto-tlssession.c
tests/test-crypto-xts.c

What am I doing wrong? IIRC "make check-speed" used to work,
maybe something went wrong in commit 9ed7247a596
("meson: convert the speed tests")?

Thanks,

Phil.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]