On Wednesday, January 22, 2014 1:23:56 PM UTC-5, [email protected] wrote:
>
>
> I'm not aware of an existing issue that would cause this, though it 
> definitely sounds like something is broken. You were able to get hello.c to 
> compile at least once though, correct? It is only when you try changing 
> hello.c and re-running that it does not get compiled?
>
> Do any of the test cases work for you? You can try them from the git tree 
> by doing:
>
> cd tup/test
> ./test.sh t4000-compile-c.sh
>
> That's a pretty basic compiler test, similar to the hello-world example.
>

Yes, it gets compiled for the first time, but as I follow the tutorial and 
make a change either in source or Tupfile, nothing gets recompiled upon a 
'tup upd'
This is the output of running t4000-compile-c.sh:

$ ./test.sh t4000-compile-c.sh
 --- Run t4000-compile-c.sh ---
.tup repository initialized.
[ tup ] [0.001s] Scanning filesystem...
[ tup ] [0.002s] Reading in new environment variables...
[ tup ] [0.003s] Parsing Tupfiles...
 1) [0.007s] .
 [ ] 100%
[ tup ] [0.032s] No files to delete.
[ tup ] [0.032s] Generating .gitignore files...
[ tup ] [0.033s] Executing Commands...
 1) [0.029s] gcc -c foo.c -o foo.o
 2) [0.029s] gcc foo.o -o prog.exe
 [  ] 100%
[ tup ] [0.093s] Updated.
[ tup ] [0.000s] Scanning filesystem...
[ tup ] [0.000s] Reading in new environment variables...
[ tup ] [0.001s] No Tupfiles to parse.
[ tup ] [0.001s] No files to delete.
[ tup ] [0.001s] Executing Commands...
 1) [0.033s] gcc -c foo.c -o foo.o
 2) [0.029s] gcc foo.o -o prog.exe
 [  ] 100%
[ tup ] [0.084s] Updated.

It seems the test is passing.
that test has a 'tup touch foo.c', do I need to somehow do that to trigger 
an update?

I also ran all the tests and nothing failed:
./test.sh | grep -i fail

Hamid 

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to