List of commits:
Subject Hash Author Date (UTC)
format 07fea6d901a0a1b39e113ed2eab2521bb84e4dcf Ubuntu 2020-03-31 04:36:04
yml support a0aca84f236cf2c0ac729030c3031999419530e2 Ubuntu 2020-03-30 19:20:30
prettier c0a36395356a8e6b165785b5e2dd5486fa22206d Ubuntu 2020-03-30 04:06:19
fix shit 4e786cec2b361164d67318fb9bc4d3e16b5e3156 Ubuntu 2020-03-30 02:55:58
color output 79515e592fad2cee9a985e0050969f6901451e93 Ubuntu 2020-03-30 02:42:46
output 6eec625ecbd51533330d2a1b618d28a433ae1ee4 Ubuntu 2020-03-30 02:37:25
works 1ee1f753c7dc99e4a91665d48ba7d60fd731b138 Ubuntu 2020-03-30 02:33:45
running test 08bdfaabe6111f35074dc1af59197fcc3af7ae3c Ubuntu 2020-03-30 02:23:19
building 249893d05180fa7cd770c22cef1714cc89c4318b Ubuntu 2020-03-30 02:17:05
cleanup 8750a7302fd91be1b984857bbdcd284470545ba2 Ubuntu 2020-03-30 01:16:21
project and common option 58a8a91e410978a52592952951bb6b24fe76964a Ubuntu 2020-03-30 01:12:45
use minimist 16d617198ccd8304ab324fc3989d60bb97177cca Ubuntu 2020-03-30 01:09:25
works with clang++ and g++ (on circuit) 8802dd772799132ab0c6502c1e079bc44365ad3e Ubuntu 2020-03-30 01:03:14
cleanup 45c9d366a75cbff5930fe51189140210835a6337 Ubuntu 2020-03-30 00:26:01
example works 8ed5b07157cd0b49b147939ba7a99f339a9c2d0f Ubuntu 2020-03-29 16:45:36
filtering out header files 22bafc763385d5b5759b924ac07f2474b4692e8b Ubuntu 2020-03-29 12:22:40
Revert "just include source" 3d420145117a1ea5404972165dca26ca0135f70e Ubuntu 2020-03-29 12:04:38
just include source 9d18479598ad88e5bae0d0a8e8bfe0009b47d5cf Ubuntu 2020-03-29 05:19:00
assert 6ba991dbb9b5606355f73c71fca85d80bd169bf9 Ubuntu 2020-03-29 04:59:45
cleanup f5cbde963e841bf63f51cc28ec389b6580345ed3 Ubuntu 2020-03-29 04:42:07
Commit 07fea6d901a0a1b39e113ed2eab2521bb84e4dcf - format
Author: Ubuntu
Author date (UTC): 2020-03-31 04:36
Committer name: Ubuntu
Committer date (UTC): 2020-03-31 04:36
Parent(s): a0aca84f236cf2c0ac729030c3031999419530e2
Signing key:
Tree: 7e8374fdfef0761daee9014cf8ee06af12e758f3
File Lines added Lines deleted
index.js 32 34
tmp 1 0
File index.js changed (mode: 100755) (index 448c402..65c17d9)
... ... processDef(defPath);
25 25 function processDef(defPath) { function processDef(defPath) {
26 26 console.log("processing ", defPath); console.log("processing ", defPath);
27 27 readDef(defPath).then((obj) => { readDef(defPath).then((obj) => {
28 readDef(path.join(__dirname, "asserter/def.yml")).then((obj2) => {
29 let result = [obj, obj2].join(" ");
30 if (argv.common || argv.c) {
31 result += " -pthread -DTARGET_TEST=1";
28 let result = obj;
29 if (argv.common || argv.c) {
30 result += ` -pthread -DTARGET_TEST=1 `;
31 }
32 if (argv.test || argv.t) {
33 result += ` -isystem ${__dirname} ${path.join(
34 __dirname,
35 "asserter/src/archiver.cpp"
36 )} ${path.join(__dirname, "asserter/src/asserter.cpp")} `;
37 let compiler = "g++";
38 if (argv.clang || argv.llvm) {
39 compiler = "clang++";
40 } else if (argv.emcc) {
41 compiler = "emcc";
32 42 } }
33 if (argv.test || argv.t) {
34 let compiler = "g++";
35 if (argv.clang || argv.llvm) {
36 compiler = "clang++";
37 } else if (argv.emcc) {
38 compiler = "emcc";
43 tmp.dir((err, tmpDir) => {
44 if (err) throw err;
45 const execFile = path.join(tmpDir, "test");
46 console.log("test directory:", tmpDir);
47 result = `${compiler} ${result} -o ${execFile}`;
48 if (argv.verbose || argv.v) {
49 console.log(result);
39 50 } }
40 tmp.dir((err, tmpDir) => {
41 if (err) throw err;
42 const execFile = path.join(tmpDir, "test");
43 console.log("test directory:", tmpDir);
44 result = `${compiler} ${result} -o ${execFile}`;
45 if (argv.verbose || argv.v) {
46 console.log(result);
51 shell.exec(result);
52 shell.exec("./test", { cwd: tmpDir });
53 fs.readFile(path.join(tmpDir, "result.json"), "utf8", (err, result) => {
54 if (!err) {
55 const resultObj = JSON.parse(result);
56 assertionsPassed += resultObj.passed;
47 57 } }
48 shell.exec(result);
49 shell.exec("./test", { cwd: tmpDir });
50 fs.readFile(
51 path.join(tmpDir, "result.json"),
52 "utf8",
53 (err, result) => {
54 if (!err) {
55 const resultObj = JSON.parse(result);
56 assertionsPassed += resultObj.passed;
57 }
58 }
59 );
60 58 }); });
61 } else {
62 console.log(result);
63 }
64 });
59 });
60 } else {
61 console.log(result);
62 }
65 63 }); });
66 64 } }
67 65
68 66 function getDef(def, defFile) { function getDef(def, defFile) {
69 67 const extname = path.extname(defFile); const extname = path.extname(defFile);
70 68 if (extname.toUpperCase() === ".YML") { if (extname.toUpperCase() === ".YML") {
71 return YAML.parse(def);
69 return YAML.parse(def);
72 70 } }
73 71 return JSON.parse(def); return JSON.parse(def);
74 72 } }
File tmp added (mode: 120000) (index 0000000..3a7740d)
1 asserter/
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/mucbuc/ccargs

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/mucbuc/ccargs

Clone this repository using git:
git clone git://git.rocketgit.com/user/mucbuc/ccargs

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main