diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-21 16:21:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-21 16:21:07 +0200 |
commit | a1cec9e0df14f3c1a833e2a447b5324ff9c430d3 (patch) | |
tree | e61c7e1cb3fa27ba435053761f5a2a3fb670f728 /tests/test | |
parent | bead742dbac51088e89cdd4dd7a55aaa1d8c98d7 (diff) |
Test module genesis
Diffstat (limited to 'tests/test')
-rw-r--r-- | tests/test/simple/build/bootstrap.build | 4 | ||||
-rw-r--r-- | tests/test/simple/buildfile | 10 | ||||
-rw-r--r-- | tests/test/simple/driver.cxx | 4 | ||||
-rw-r--r-- | tests/test/simple/utility.cxx | 1 |
4 files changed, 19 insertions, 0 deletions
diff --git a/tests/test/simple/build/bootstrap.build b/tests/test/simple/build/bootstrap.build new file mode 100644 index 0000000..0b7a347 --- /dev/null +++ b/tests/test/simple/build/bootstrap.build @@ -0,0 +1,4 @@ +project = test-simple +amalgamation = # Disabled. +using config +using test diff --git a/tests/test/simple/buildfile b/tests/test/simple/buildfile new file mode 100644 index 0000000..6113968 --- /dev/null +++ b/tests/test/simple/buildfile @@ -0,0 +1,10 @@ +using cxx + +hxx.ext = hxx +cxx.ext = cxx + +lib{utility}: cxx{utility} +exe{driver}: cxx{driver} lib{utility} +exe{driver}: test = true + +.: lib{utility} exe{driver} diff --git a/tests/test/simple/driver.cxx b/tests/test/simple/driver.cxx new file mode 100644 index 0000000..70b4146 --- /dev/null +++ b/tests/test/simple/driver.cxx @@ -0,0 +1,4 @@ +int +main () +{ +} diff --git a/tests/test/simple/utility.cxx b/tests/test/simple/utility.cxx new file mode 100644 index 0000000..c4bb446 --- /dev/null +++ b/tests/test/simple/utility.cxx @@ -0,0 +1 @@ +void f (){} |