summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--GNUmakefile8
-rw-r--r--MLKLowLevelTests.m45
2 files changed, 53 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 68e893b..53176e7 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -22,6 +22,14 @@ etoilisp_OBJC_FILES = MLKCons.m MLKEnvironment.m MLKLinkedList.m \
MLKLispValue.m MLKSymbol.m \
MLKUndefinedVariableException.m
+BUNDLE_NAME = Test
+Test_OBJC_FILES = $(etoilisp_OBJC_FILES) MLKLowLevelTests.m
+Test_OBJC_LIBS = -lUnitKit
+
-include GNUmakefile.preamble
+include $(GNUSTEP_MAKEFILES)/bundle.make
include $(GNUSTEP_MAKEFILES)/tool.make
-include GNUmakefile.postamble
+
+test: Test
+ ukrun Test.bundle
diff --git a/MLKLowLevelTests.m b/MLKLowLevelTests.m
new file mode 100644
index 0000000..c6be64a
--- /dev/null
+++ b/MLKLowLevelTests.m
@@ -0,0 +1,45 @@
+/* Étoilisp, a Common Lisp subset for Étoilé.
+ * Copyright (C) 2008 Matthias Andreas Benkard.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or (at
+ * your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include <UnitKit/UnitKit.h>
+
+@interface MLKLowLevelTests <UKTest>
+//-(id) initForTest;
+@end
+
+
+@implementation MLKLowLevelTests
+/*
+-(id) initForTest
+{
+ return self;
+}
+*/
+
+
+/*
+-(id) testStuff
+{
+ // UKPass(); UKFail();
+ // UKNotNil (nil);
+ // UKTrue (1);
+ // UKStringsNotEqual (@"a", @"b");
+ // UKPass();
+ return nil;
+ }
+*/
+@end