Skip to content

Commit

Permalink
disable sample tests for non-64 bit CPUs
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Jun 8, 2021
1 parent 6d944e6 commit 0775ebe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/unit/samples.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <png.h>

#include <utki/config.hpp>
#include <utki/span.hpp>
#include <r4/vector.hpp>
#include <papki/fs_file.hpp>
Expand Down Expand Up @@ -314,6 +315,11 @@ tst::set set("samples", [](tst::suite& suite){

suite.add<std::string>(
"sample",
{
#if M_CPU_BITS != 64
tst::flag::disabled
#endif
},
std::move(files),
[](const auto& p){
papki::fs_file in_file(data_dir + p);
Expand Down

0 comments on commit 0775ebe

Please sign in to comment.