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,17 +142,16 @@ 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::cout << test << std::endl;
std::string test(argv[2]); RAM ram;
Simulator simulator;
std::cout << test << std::endl; simulator.attach_ram(&ram);
simulator.load_ihex(test.c_str());
RAM ram; simulator.run();
Simulator simulator; }
simulator.attach_ram(&ram);
simulator.load_ihex(test.c_str());
simulator.run();
return 0; return 0;
} }