GithubHelp home page GithubHelp logo

atam-autotester's Introduction

ATAM-Autotester

automated testing script for Technion ATAM class (234118)

this script is for ATAM students to check their homework assignments.

in order to use the script (currently only compatible with HW1): 1) boot the vm image, taken from the class website (tested on VMware image) 2) clone the repository 3) copy all asm files you would like to test to the repo. * please keep all files with their original names and use submition format, with only text section for your writen code and nothing else 4) use the terminal to run autotester.py from the main folder only 5) after running the script, all of your programs outputs will be under the "last_run_output" folder of each question

to add your tests to the repo, please push your files to "test-adding" branch with well formated files as explained below each question has its own directory, just put your files there.

input files format:

  • .section .data
  • AAT_input:
  • variable-declerations
  • AAT_out:
  • variable-declerations
  • AAT_io_end:

output files format:

  • variable-declerations

important notes:

  • is in the same format as declaring variables in gas, for example - a: .int 42
  • the only variable types currently supported are .ascii, .int, .quad
  • the only numeric base currently supported for variables is decimal
  • the declerations in the output file must match the output section of the input file, in labels and types (not values), in order to parse the output correctly
  • the output files must end with an empty line
  • all of the output memory section of the test (from AAT_out to AAT_io_end), and all of it, will be compared with the programs output to determine whether the test passed or not
  • in the output file, all line without a label should start with a single space before the type decleration
  • output files should not contain ant empty lines, except fo rthe last line

writen by Adi Harif, dedicated for all the awsome CS students in the Technion, enjoy <3

atam-autotester's People

Contributors

adiharif avatar

Stargazers

Tuobang Li avatar

Watchers

 avatar

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.