Download chips/yosys/tests/bugpoint/failures.ys from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/bugpoint/failures.ys
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/tests/bugpoint/failures.ys
-
curl -L -o failures.ys https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/tests/bugpoint/failures.ys
1.06 kB
| write_file fail.temp << EOF | |
| logger -expect error "Missing -script or -command option." 1 | |
| bugpoint -suffix fail -yosys ${YOSYS} | |
| EOF | |
| exec -expect-return 0 -- ${YOSYS} -qq mods.il -s fail.temp | |
| write_file fail.temp << EOF | |
| logger -expect error "do not crash on this design" 1 | |
| bugpoint -suffix fail -yosys ${YOSYS} -command "dump" | |
| EOF | |
| exec -expect-return 0 -- ${YOSYS} -qq mods.il -s fail.temp | |
| write_file fail.temp << EOF | |
| logger -expect error "returned value 3 instead of expected 7" 1 | |
| bugpoint -suffix fail -yosys ${YOSYS} -command raise_error -expect-return 7 | |
| EOF | |
| exec -expect-return 0 -- ${YOSYS} -qq mods.il -s fail.temp | |
| write_file fail.temp << EOF | |
| logger -expect error "not found in the log file!" 1 | |
| bugpoint -suffix fail -yosys ${YOSYS} -command raise_error -grep "nope" | |
| EOF | |
| exec -expect-return 0 -- ${YOSYS} -qq mods.il -s fail.temp | |
| write_file fail.temp << EOF | |
| logger -expect error "not found in stderr log!" 1 | |
| bugpoint -suffix fail -yosys ${YOSYS} -command raise_error -err-grep "nope" | |
| EOF | |
| exec -expect-return 0 -- ${YOSYS} -qq mods.il -s fail.temp | |