06-test_rdcpu_sanity.t 703 B

12345678910111213141516171819202122
  1. #! /usr/bin/env perl
  2. # Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved.
  3. #
  4. # Licensed under the Apache License 2.0 (the "License"). You may not use
  5. # this file except in compliance with the License. You can obtain a copy
  6. # in the file LICENSE in the source distribution or at
  7. # https://www.openssl.org/source/license.html
  8. use strict;
  9. use OpenSSL::Test; # get 'plan'
  10. use OpenSSL::Test::Simple;
  11. use OpenSSL::Test::Utils;
  12. setup("test_rdcpu_sanity");
  13. # We also need static builds to be enabled even on linux
  14. plan skip_all => "This test is unsupported if static builds are not enabled"
  15. if disabled("static");
  16. simple_test("test_rdcpu_sanity", "rdcpu_sanitytest");