force restart
This commit is contained in:
parent
9e5cf6d00a
commit
c984ce1fd0
@ -12,5 +12,8 @@ all: $(ALL_TARGETS)
|
|||||||
clean:
|
clean:
|
||||||
rm -vf ./bin/*
|
rm -vf ./bin/*
|
||||||
|
|
||||||
|
test:
|
||||||
|
./tests/test_hello_world
|
||||||
|
|
||||||
.PHONY: all clean
|
|
||||||
|
.PHONY: all clean test
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
#include <cstdio>
|
#include <iostream>
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
printf("Hello World!\n");
|
cout << "Hello World!" << endl;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
5
basics/tests/test_hello_world
Executable file
5
basics/tests/test_hello_world
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
./bin/hello-world > /dev/null 2>&1
|
||||||
|
|
||||||
|
exit $?
|
Loading…
Reference in New Issue
Block a user