lab 4 test script

137 views
Skip to first unread message

Aarne Ranta

unread,
Mar 7, 2014, 7:45:30 AM3/7/14
to proglang-c...@googlegroups.com
Dear all,

There is now a lab4 test script available, written by John:

  http://www.cse.chalmers.se/edu/course/DAT151/laborations/lab4/progs-test-lab4.sh

It uses the same lab4 test files we had before.

Regards

  Aarne.

John J. Camilleri

unread,
Mar 7, 2014, 8:54:59 AM3/7/14
to Aarne Ranta, proglang-c...@googlegroups.com

I should add that this script should be placed in the same directory as the .fun files. It should also be run from this directory, with the path to your code as an argument, just like the other test scripts.

John

--
You received this message because you are subscribed to the Google Groups "proglang-course-2014" group.
To unsubscribe from this group and stop receiving emails from it, send an email to proglang-course-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kim Simmons

unread,
Mar 7, 2014, 2:20:21 PM3/7/14
to proglang-c...@googlegroups.com, Aarne Ranta
I had to make the script executable "chmod +x ./progs-test-lab4.sh" and change the shebang in the script to "#!/bin/bash".
The sh shell gave "not found" errors on the array assignments.
Just in case someone else encounters this.
Running on Ubuntu 13.10

Den fredagen den 7:e mars 2014 kl. 14:54:59 UTC+1 skrev John J. Camilleri:

I should add that this script should be placed in the same directory as the .fun files. It should also be run from this directory, with the path to your code as an argument, just like the other test scripts.

John

On 7 Mar 2014 13:45, "Aarne Ranta" <aarne...@gmail.com> wrote:
Dear all,

There is now a lab4 test script available, written by John:

  http://www.cse.chalmers.se/edu/course/DAT151/laborations/lab4/progs-test-lab4.sh

It uses the same lab4 test files we had before.

Regards

  Aarne.

--
You received this message because you are subscribed to the Google Groups "proglang-course-2014" group.
To unsubscribe from this group and stop receiving emails from it, send an email to proglang-course-2014+unsub...@googlegroups.com.

Mattias Warnqvist

unread,
Mar 8, 2014, 6:40:55 AM3/8/14
to proglang-c...@googlegroups.com
If somebody else had problem with the colors: I needed to change "echo" to "echo -e" to get the escape codes to work.
To unsubscribe from this group and stop receiving emails from it, send an email to proglang-course-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages