more tests directory, fix missing tests

This commit is contained in:
Brian Seymour 2020-06-08 20:54:21 -05:00
parent e21173173f
commit 0b85a84877
24 changed files with 43 additions and 43 deletions

View file

@ -1,3 +0,0 @@
good
___code___
{ print }

View file

@ -1,5 +0,0 @@
#include <stdio.h>
void main(void) {
printf("good\n");
}

View file

@ -1,6 +0,0 @@
#include <iostream>
int main(void) {
printf("good\n");
return 1;
}

View file

@ -1,9 +0,0 @@
using System;
namespace HelloWorld {
class Hello {
static void Main() {
Console.WriteLine("good");
}
}
}

View file

@ -1 +0,0 @@
(message "good")

View file

@ -1 +0,0 @@
IO.puts("good")

View file

@ -1,7 +0,0 @@
package main
import "fmt"
func main() {
fmt.Println("good")
}

View file

@ -1,5 +0,0 @@
public class HelloWorld {
public static void main(String[] args) {
System.out.println("good");
}
}

View file

@ -1 +0,0 @@
println("good")

View file

@ -1 +0,0 @@
console.log('good')

View file

@ -1,3 +0,0 @@
fun main(args: Array<String>) {
println("good")
}

View file

@ -1,16 +0,0 @@
SECTION .DATA
good: db 'good',10
txtlen: equ $-good
SECTION .TEXT
GLOBAL _start
_start:
mov eax,4
mov ebx,1
mov ecx,good
mov edx,txtlen
int 80h
mov eax,1
mov ebx,0
int 80h

View file

@ -1,3 +0,0 @@
<?php
echo 'good' . "\n";

View file

@ -1 +0,0 @@
print "good\n";

View file

@ -1 +0,0 @@
puts 'good'

View file

@ -1,3 +0,0 @@
fn main() {
println!("good");
}

View file

@ -1 +0,0 @@
echo 'good'

View file

@ -1 +0,0 @@
print("good")

View file

@ -1 +0,0 @@
console.log('good')

View file

@ -1 +0,0 @@
print 'good'

View file

@ -1 +0,0 @@
print('good')

View file

@ -1,42 +0,0 @@
#!/usr/bin/env bash
echo 'testing awk'
../lxc/execute awk test.awk
echo 'testing c'
../lxc/execute c test.c
echo 'testing cpp'
../lxc/execute cpp test.cpp
echo 'testing cs'
../lxc/execute cs test.cs
#echo 'testing elixir'
#../lxc/execute exs test.exs
echo 'testing go'
../lxc/execute go test.go
echo 'testing java'
../lxc/execute java test.java
echo 'testing kotlin'
../lxc/execute kotlin test.kt
echo 'testing asm'
../lxc/execute asm test.nasm
echo 'testing js'
../lxc/execute js test.js
echo 'testing jl'
../lxc/execute jl test.jl
echo 'testing php'
../lxc/execute php test.php
echo 'testing perl'
../lxc/execute perl test.pl
echo 'testing python2'
../lxc/execute python2 test2.py
echo 'testing python3'
../lxc/execute python3 test3.py
echo 'testing ruby'
../lxc/execute ruby test.rb
echo 'testing rust'
../lxc/execute rust test.rs
echo 'testing swift'
../lxc/execute swift test.swift
echo 'testing bash'
../lxc/execute bash test.sh
echo 'testing typescript'
../lxc/execute typescript test.ts