CI script updates

This commit is contained in:
Blaise Tine
2020-09-20 01:27:34 -04:00
parent b3a52f4002
commit 990b1585f1
2 changed files with 10 additions and 11 deletions

View File

@@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
make -C benchmarks/riscv_tests/isa run make -C hw/simulate run

View File

@@ -142,10 +142,8 @@ int main(int argc, char **argv) {
#endif #endif
} else { } else {
bool passed = true; std::vector<std::string> tests(argv+2, argv+argc);
for (std::string test : tests) {
std::string test(argv[2]);
std::cout << test << std::endl; std::cout << test << std::endl;
RAM ram; RAM ram;
@@ -153,6 +151,7 @@ int main(int argc, char **argv) {
simulator.attach_ram(&ram); simulator.attach_ram(&ram);
simulator.load_ihex(test.c_str()); simulator.load_ihex(test.c_str());
simulator.run(); simulator.run();
}
return 0; return 0;
} }