Giter Club home page Giter Club logo

se465_project's Introduction

ECE453/SE465/CS447/ECE653/CS647
Project Skeleton Files

Lab Instructor:
Bernie Roehl 

TA in Charge for Part I):
Edmund Wong

https://ece.uwaterloo.ca/~lintan/courses/testing/llvm.html

Do NOT modify any files given in this archive. You may modify files according to your local configurations, but note that all changes will be overwritten before your project is being marked.

We will grade your project submissios on ecelinux. Make sure your code works on ecelinux machines! It is recommended to develop on ecelinux or your own computer running a popular flavour of Linux. There were reports show that ``sort'', as an example, behaves differently in Mac than in Linux. Cygwin and MinGW were not tested.

If clang is not in PATH, how to tell Makefile where it is installed?
In Makefile.common, "PREFIX=" defines where the LLVM executables are located. Put the FULL path if the executables are not in PATH.

How to run tests?
First, modify PREFIX accordingly.
To run all tests together, execute "verify.sh". Logs of all output can be found in /tmp with names "testing-<your usename>-pi-<time of log>.log".
clean.sh runs "make clean" in all tests directories, which removes temporary files created by verify.sh.
To generate the output for one test, run "make" in the test's directory. Your output should be identical to the "gold" file. Your output should be passed through "sort" before "diff"ing with the "gold" file, i.e. cat <your output> | sort | diff - gold_x_xx

How to prepare a submission?
Organize the "pi" directory in the way that we run make inside "pi" directory and "pipair" is generated in the same directory.  The exit code of make will not be checked.

How the marking is done?
We will untar your submission, copy the content of the pi directory, run make, copy over the skeleton files and the full test suite with six tests and then run verify.sh.
Note that each test is given 2 minutes. My prototype runs test3 in 2 seconds and test6 (not given to you) in 25 seconds, and all other tests in tens or hundreds of milliseconds. 


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.