aboutsummaryrefslogtreecommitdiff
path: root/tests/postponed
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-21 18:20:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-22 12:26:34 +0200
commit34e5a2da18f76c7d7de79a5c12b0e85ee89c4095 (patch)
tree3e825e3883bc1ed083b0c33afa30c74c95dbef1e /tests/postponed
parenta1cec9e0df14f3c1a833e2a447b5324ff9c430d3 (diff)
Fix postponed re-examination logic
Now postponed takes precedence over changed.
Diffstat (limited to 'tests/postponed')
-rw-r--r--tests/postponed/build/bootstrap.build3
-rw-r--r--tests/postponed/buildfile7
-rw-r--r--tests/postponed/driver.cxx4
-rw-r--r--tests/postponed/out/dummy0
4 files changed, 14 insertions, 0 deletions
diff --git a/tests/postponed/build/bootstrap.build b/tests/postponed/build/bootstrap.build
new file mode 100644
index 0000000..42ba33a
--- /dev/null
+++ b/tests/postponed/build/bootstrap.build
@@ -0,0 +1,3 @@
+project = postponed
+amalgamation = # Disabled.
+using config
diff --git a/tests/postponed/buildfile b/tests/postponed/buildfile
new file mode 100644
index 0000000..f08a020
--- /dev/null
+++ b/tests/postponed/buildfile
@@ -0,0 +1,7 @@
+using cxx
+hxx.ext = hxx
+cxx.ext = cxx
+
+exe{driver}: cxx{driver} fsdir{$out_root/out}
+
+./: exe{driver}
diff --git a/tests/postponed/driver.cxx b/tests/postponed/driver.cxx
new file mode 100644
index 0000000..70b4146
--- /dev/null
+++ b/tests/postponed/driver.cxx
@@ -0,0 +1,4 @@
+int
+main ()
+{
+}
diff --git a/tests/postponed/out/dummy b/tests/postponed/out/dummy
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/postponed/out/dummy