blob: d63f4088c9968001760deb1adab4c724a49145a0 [file] [log] [blame]
Austin Schuhcbc17402019-01-21 21:00:30 -08001#!/usr/bin/env python
2# -*- coding: utf-8 -*-
3
4from conans import ConanFile, CMake
5import os
6
7
8class TestPackageConan(ConanFile):
9 settings = "os", "compiler", "build_type", "arch"
10 generators = "cmake"
11
12 def build(self):
13 cmake = CMake(self)
14 cmake.configure()
15 cmake.build()
16
17 def test(self):
18 bin_path = os.path.join("bin", "test_package")
19 self.run(bin_path, run_environment=True)