[CI]Added initial framework of CXX unittest (#98)

Based on the discussion in #53 , I just added the initial flow of CXX unittests for this repo, with providing two dummy UTs as placeholder to show the usage, feel free to add your own CXX unittests. 
@Superjomn  @ptillet 

@ptillet , in this PR, I also configure the integration-tests.yml to add the unittest into github CI check. 

Thanks
This commit is contained in:
Jun Yang
2022-09-04 12:50:27 +08:00
committed by GitHub
parent d0b4c67b05
commit ea175f689e
10 changed files with 112 additions and 7 deletions

View File

@@ -0,0 +1,14 @@
//===- UtilityTest.cpp - Tests for
// Utility----------------------------------===//
//
//===----------------------------------------------------------------------===//
#include "triton/Analysis/Utility.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
namespace mlir {
TEST(UtilityTest, DummyTest) { EXPECT_EQ(true, true); }
} // namespace mlir