test(dfr): add AES test.

This commit is contained in:
Antoniu Pop
2022-07-24 11:36:34 +01:00
committed by Antoniu Pop
parent 1bb3d04059
commit 2f5f9f6cf1
4 changed files with 5480 additions and 0 deletions

View File

@@ -174,6 +174,7 @@ build-end-to-end-jit-lambda: build-initialized
build-end-to-end-dataflow-tests: build-initialized
cmake --build $(BUILD_DIR) --target end_to_end_jit_auto_parallelization
cmake --build $(BUILD_DIR) --target end_to_end_jit_distributed
cmake --build $(BUILD_DIR) --target end_to_end_jit_aes_short
run-end-to-end-dataflow-tests: build-end-to-end-dataflow-tests
$(BUILD_DIR)/tools/concretelang/tests/end_to_end_tests/end_to_end_jit_auto_parallelization

View File

@@ -69,4 +69,9 @@ if(CONCRETELANG_PARALLEL_EXECUTION_ENABLED)
end_to_end_jit_distributed.cc
globals.cc
)
add_concretecompiler_unittest(
end_to_end_jit_aes_short
end_to_end_jit_aes_short.cc
globals.cc
)
endif()

File diff suppressed because it is too large Load Diff

View File

@@ -2,6 +2,7 @@
#define UINT_TESTS_COMMON_ASSERT_H
#include "llvm/ADT/StringExtras.h"
#include <concretelang/Runtime/DFRuntime.hpp>
#include <gtest/gtest.h>
#define ASSERT_LLVM_ERROR(err) \