summaryrefslogtreecommitdiffstats
path: root/test_package/conanfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'test_package/conanfile.py')
-rw-r--r--test_package/conanfile.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/test_package/conanfile.py b/test_package/conanfile.py
new file mode 100644
index 0000000..08f550f
--- /dev/null
+++ b/test_package/conanfile.py
@@ -0,0 +1,17 @@
+from conans import ConanFile, CMake, tools
+import os
+
+
+class TinyAesCTestConan(ConanFile):
+ settings = "os", "compiler", "build_type", "arch"
+ generators = "cmake"
+
+ def build(self):
+ cmake = CMake(self)
+ cmake.configure()
+ cmake.build()
+
+ def test(self):
+ if not tools.cross_building(self.settings):
+ os.chdir("bin")
+ self.run(".%sexample" % os.sep)