You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2016/03/04 13:42:21 UTC

lucy-clownfish git commit: Make sure to build cfc when running "make test"

Repository: lucy-clownfish
Updated Branches:
  refs/heads/master f85330441 -> 36404c95a


Make sure to build cfc when running "make test"


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/36404c95
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/36404c95
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/36404c95

Branch: refs/heads/master
Commit: 36404c95a6c69af0e10ee6daf5aba9bd9d4fb177
Parents: f853304
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Fri Mar 4 13:35:45 2016 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Fri Mar 4 13:35:45 2016 +0100

----------------------------------------------------------------------
 compiler/common/charmonizer.c    | 3 ++-
 compiler/common/charmonizer.main | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/36404c95/compiler/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/compiler/common/charmonizer.c b/compiler/common/charmonizer.c
index cf724af..790de85 100644
--- a/compiler/common/charmonizer.c
+++ b/compiler/common/charmonizer.c
@@ -8155,7 +8155,8 @@ S_write_makefile(struct chaz_CLI *cli) {
     }
     chaz_CFlags_destroy(link_flags);
 
-    rule = chaz_MakeFile_add_rule(makefile, "test", test_cfc_exe);
+    rule = chaz_MakeFile_add_rule(makefile, "test", "all");
+    chaz_MakeRule_add_prereq(rule, test_cfc_exe);
     chaz_MakeRule_add_command(rule, test_cfc_exe);
 
     if (chaz_CLI_defined(cli, "enable-coverage")) {

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/36404c95/compiler/common/charmonizer.main
----------------------------------------------------------------------
diff --git a/compiler/common/charmonizer.main b/compiler/common/charmonizer.main
index 4a492c0..c0c95b7 100644
--- a/compiler/common/charmonizer.main
+++ b/compiler/common/charmonizer.main
@@ -260,7 +260,8 @@ S_write_makefile(struct chaz_CLI *cli) {
     }
     chaz_CFlags_destroy(link_flags);
 
-    rule = chaz_MakeFile_add_rule(makefile, "test", test_cfc_exe);
+    rule = chaz_MakeFile_add_rule(makefile, "test", "all");
+    chaz_MakeRule_add_prereq(rule, test_cfc_exe);
     chaz_MakeRule_add_command(rule, test_cfc_exe);
 
     if (chaz_CLI_defined(cli, "enable-coverage")) {