Advertisement
CSenshi

Pintos - Project 2 (testing commands)

May 24th, 2019
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.49 KB | None | 0 0
  1. # Run All Tests
  2. # .../pintos/src/userprog
  3. make && make check
  4.  
  5. # Run Certain Test (Set CUR_TEST variable to test name)
  6. # .../pintos/src/userprog
  7. make && CUR_TEST='sc-bad-sp' && pintos --qemu -- run $CUR_TEST && echo -e '\n!!!!!!!!! TEST RESULTS !!!!!!!!!\n' && cat build/tests/userprog/$CUR_TEST.result
  8.  
  9. # (Term 1)
  10. #  DIR : .../pintos/src/userprog
  11. pintos --gdb -- run exec-once
  12.  
  13. # (Term 2)
  14. # DIR : .../pintos/src/userprog/build
  15. pintos-gdb kernel.o
  16. (gdb) target remote localhost:1234
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement