Added list and unit test for it.

This commit is contained in:
Simon Brooke 2021-09-08 13:47:36 +01:00
parent 06e87f09fa
commit 3abebe937c
No known key found for this signature in database
GPG key ID: A7A4F18D1D4DF987
5 changed files with 58 additions and 2 deletions

View file

@ -1,8 +1,8 @@
#!/bin/bash
value=354
expected="Integer cell: value ${value},"
echo ${value} | target/psse -v5 2>&1 | grep "${expected}" > /dev/null
expected="(${value} \"INTR\")"
echo "(set! x $value)(list x (type x))" | target/psse 2>&1 | grep "${expected}" > /dev/null
if [ $? -eq 0 ]
then