<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
img {
max-width: 100%;
height: auto;
}
p.details {
font-style:italic;
color:#777
}
.footer p {
font-size:small;
color:#777
}
pre.commit-message {
white-space: pre-wrap;
}
.file-stats a {
text-decoration: none;
}
.file-stats .new-file {
color: #090;
}
.file-stats .deleted-file {
color: #B00;
}
</style>
<body>
<div class='content'>
<h3>Amar Takhar pushed to branch master at <a href="https://gitlab.com/NTPsec/ntpsec">NTPsec / ntpsec</a></h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/358bd168eb7cd07e8f89c1a9b82024d3d4f6e983">358bd168</a></strong>
<div>
<span>by Amar Takhar</span>
<i>at 2015-11-20T16:53:02Z</i>
</div>
<pre class='commit-message'>Remove tests-runner and tests_main.cpp as they are no longer used.</pre>
</li>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/97f22cd30ba5c36c6ce74f9f801ac5c0efce9bcf">97f22cd3</a></strong>
<div>
<span>by Amar Takhar</span>
<i>at 2015-11-20T17:01:04Z</i>
</div>
<pre class='commit-message'>Move fileHandlingTest.c to common/file_handling.c</pre>
</li>
</ul>
<h4>7 changed files:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
tests/ntpdig/fileHandlingTest.c
→
tests/common/file_handling.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-1'>
tests/ntpdig/fileHandlingTest.h
→
tests/common/file_handling.h
</a>
</li>
<li class='file-stats'>
<a href='#diff-2'>
tests/ntpdig/keyFile.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-3'>
tests/ntpdig/kodFile.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-4'>
<span class='deleted-file'>
−
tests/ntpdig/tests-runner
</span>
</a>
</li>
<li class='file-stats'>
<a href='#diff-5'>
<span class='deleted-file'>
−
tests/ntpdig/tests_main.cpp
</span>
</a>
</li>
<li class='file-stats'>
<a href='#diff-6'>
tests/wscript
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/83cb3da6e017dcc82b2bc756be713481ea9f0e8f...97f22cd30ba5c36c6ce74f9f801ac5c0efce9bcf#diff-0'>
<strong>
tests/ntpdig/fileHandlingTest.c
</strong>
→
<strong>
tests/common/file_handling.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/tests/ntpdig/fileHandlingTest.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/tests/common/file_handling.c
</span><span style="color: #aaaaaa">@@ -1,7 +1,6 @@
</span><span style="color: #000000;background-color: #ffdddd">-
</span> #include <stdio.h>
<span style="color: #000000;background-color: #ffdddd">-
-#include "fileHandlingTest.h"
</span><span style="color: #000000;background-color: #ddffdd">+#include "tests_main.h"
+#include "file_handling.h"
</span>
const char* CreatePath(const char* filename, DirectoryType argument) {
const char* argpath = tests_main_args(argument);
</code></pre>
<br>
</li>
<li id='diff-1'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/83cb3da6e017dcc82b2bc756be713481ea9f0e8f...97f22cd30ba5c36c6ce74f9f801ac5c0efce9bcf#diff-1'>
<strong>
tests/ntpdig/fileHandlingTest.h
</strong>
→
<strong>
tests/common/file_handling.h
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/tests/ntpdig/fileHandlingTest.h
</span><span style="color: #000000;background-color: #ddffdd">+++ b/tests/common/file_handling.h
</span><span style="color: #aaaaaa">@@ -1,7 +1,7 @@
</span> #ifndef GUARD_FILE_HANDLING_TEST_H
#define GUARD_FILE_HANDLING_TEST_H
<span style="color: #000000;background-color: #ffdddd">-#include "ntpdigtest.h"
</span><span style="color: #000000;background-color: #ddffdd">+//#include "ntpdigtest.h"
</span>
typedef enum {
INPUT_DIR = 0,
</code></pre>
<br>
</li>
<li id='diff-2'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/83cb3da6e017dcc82b2bc756be713481ea9f0e8f...97f22cd30ba5c36c6ce74f9f801ac5c0efce9bcf#diff-2'>
<strong>
tests/ntpdig/keyFile.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/tests/ntpdig/keyFile.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/tests/ntpdig/keyFile.c
</span><span style="color: #aaaaaa">@@ -1,7 +1,10 @@
</span><span style="color: #000000;background-color: #ddffdd">+#include "config.h"
+
</span> #include "unity.h"
#include "unity_fixture.h"
<span style="color: #000000;background-color: #ffdddd">-#include "fileHandlingTest.h"
</span><span style="color: #000000;background-color: #ddffdd">+#include "ntp_stdlib.h"
+#include <file_handling.h>
</span>
#include "crypto.h"
</code></pre>
<br>
</li>
<li id='diff-3'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/83cb3da6e017dcc82b2bc756be713481ea9f0e8f...97f22cd30ba5c36c6ce74f9f801ac5c0efce9bcf#diff-3'>
<strong>
tests/ntpdig/kodFile.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/tests/ntpdig/kodFile.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/tests/ntpdig/kodFile.c
</span><span style="color: #aaaaaa">@@ -1,8 +1,11 @@
</span><span style="color: #000000;background-color: #ddffdd">+#include "config.h"
+
</span> #include "unity.h"
#include "unity_fixture.h"
<span style="color: #000000;background-color: #ffdddd">-#include "fileHandlingTest.h"
</span><span style="color: #000000;background-color: #ddffdd">+#include <file_handling.h>
</span>
<span style="color: #000000;background-color: #ddffdd">+#include "ntp_stdlib.h"
</span> #include "kod_management.h"
/*
</code></pre>
<br>
</li>
<li id='diff-4'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/83cb3da6e017dcc82b2bc756be713481ea9f0e8f...97f22cd30ba5c36c6ce74f9f801ac5c0efce9bcf#diff-4'>
<strong>
tests/ntpdig/tests-runner
</strong>
deleted
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/tests/ntpdig/tests-runner
</span><span style="color: #000000;background-color: #ddffdd">+++ /dev/null
</span><span style="color: #aaaaaa">@@ -1,12 +0,0 @@
</span><span style="color: #000000;background-color: #ffdddd">-#!/bin/sh
-
-# $builddir is always .
-builddir=.
-# $srcdir will be set to the correct directory when this script is called from
-# the Makefiles generated by Automake.
-
-# Create output directory.
-mkdir -p $builddir/data
-
-# Test executable expects two arguments: test_input_dir and test_output_dir.
-./tests $srcdir/data $builddir/data
</span></code></pre>
<br>
</li>
<li id='diff-5'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/83cb3da6e017dcc82b2bc756be713481ea9f0e8f...97f22cd30ba5c36c6ce74f9f801ac5c0efce9bcf#diff-5'>
<strong>
tests/ntpdig/tests_main.cpp
</strong>
deleted
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/tests/ntpdig/tests_main.cpp
</span><span style="color: #000000;background-color: #ddffdd">+++ /dev/null
</span><span style="color: #aaaaaa">@@ -1,16 +0,0 @@
</span><span style="color: #000000;background-color: #ffdddd">-#include "tests_main.h"
-
-const char *progname = "ntpdigtest";
-
-static void RunAllTests(void) {
- RUN_TEST_GROUP(crypto);
- RUN_TEST_GROUP(keyFile);
-}
-
-int main(int argc, const char * argv[]) {
-
- init_lib();
- init_auth();
-
- return UnityMain(argc, argv, RunAllTests);
-}
</span></code></pre>
<br>
</li>
<li id='diff-6'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/83cb3da6e017dcc82b2bc756be713481ea9f0e8f...97f22cd30ba5c36c6ce74f9f801ac5c0efce9bcf#diff-6'>
<strong>
tests/wscript
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/tests/wscript
</span><span style="color: #000000;background-color: #ddffdd">+++ b/tests/wscript
</span><span style="color: #aaaaaa">@@ -17,13 +17,13 @@ def build(ctx):
</span>
# Test main.
common_source = [
<span style="color: #000000;background-color: #ffdddd">- "common/tests_main.c"
</span><span style="color: #000000;background-color: #ddffdd">+ "common/tests_main.c",
</span> ]
ntpdig_source = [
"ntpdig/crypto.c",
<span style="color: #000000;background-color: #ffdddd">- "ntpdig/fileHandlingTest.c",
</span><span style="color: #000000;background-color: #ddffdd">+ "common/file_handling.c",
</span> "ntpdig/keyFile.c",
"ntpdig/kodDatabase.c",
"ntpdig/kodFile.c",
</code></pre>
<br>
</li>
</div>
<div class='footer' style='margin-top: 10px;'>
<p>
—
<br>
<a href="https://gitlab.com/NTPsec/ntpsec/compare/83cb3da6e017dcc82b2bc756be713481ea9f0e8f...97f22cd30ba5c36c6ce74f9f801ac5c0efce9bcf">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":["merge_requests","issues","commit"],"url":"https://gitlab.com/NTPsec/ntpsec/compare/83cb3da6e017dcc82b2bc756be713481ea9f0e8f...97f22cd30ba5c36c6ce74f9f801ac5c0efce9bcf"}}</script>
</p>
</div>
</body>
</html>