mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:57:44 +00:00
Tests: Build all tests on x86_64
This builds some previously-disabled tests for x86_64.
This commit is contained in:
parent
3fce0e58e5
commit
75ba74a216
3 changed files with 4 additions and 13 deletions
|
@ -12,8 +12,6 @@
|
|||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
typedef char assert_size_t_is_int[sizeof(size_t) == 4 ? 1 : -1];
|
||||
|
||||
static constexpr char TEXT_ERROR[] = "\x1b[01;35m";
|
||||
static constexpr char TEXT_WRONG[] = "\x1b[01;31m";
|
||||
static constexpr char TEXT_OFBY1[] = "\x1b[01;97m";
|
||||
|
@ -328,10 +326,6 @@ static long long hex_to_ll(const char* hex)
|
|||
|
||||
int main()
|
||||
{
|
||||
if (sizeof(size_t) != 4) {
|
||||
printf("lolwut?!\n");
|
||||
return 1;
|
||||
}
|
||||
printf("Running %lu testcases...\n", NUM_TESTCASES);
|
||||
printf("%3s(%-5s): %16s(%2s) %16s(%2s) %16s(%2s) %16s(%2s) – %s\n", "num", "name", "correct", "cs", "builtin", "cs", "old_strtod", "cs", "new_strtod", "cs", "teststring");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue