runtime: remove unused test
to simplify build configuration
This commit is contained in:
committed by
SvyatoslavScherbina
parent
5966f69928
commit
db1853f627
@@ -12,23 +12,6 @@ task build(type: CompileCppToBitcode) {
|
||||
linkerArgs project.file('../common/build/hash.bc').path
|
||||
}
|
||||
|
||||
task test {
|
||||
dependsOn build
|
||||
|
||||
doLast {
|
||||
exec {
|
||||
commandLine "$llvmDir/bin/clang", 'src/test/c/main.c', '-c', '-emit-llvm', '-o', "$buildDir/main.bc"
|
||||
}
|
||||
exec {
|
||||
commandLine "$llvmDir/bin/clang++", build.outFile, "$buildDir/main.bc", '-o', "$buildDir/main"
|
||||
}
|
||||
exec {
|
||||
workingDir buildDir
|
||||
commandLine './main'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
task clean << {
|
||||
delete buildDir
|
||||
}
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
#include <stddef.h>
|
||||
#include <printf.h>
|
||||
|
||||
void kotlinNativeMain() {
|
||||
// nothing to test yet
|
||||
}
|
||||
Reference in New Issue
Block a user