Projet mkd/find.c

De Wiki EELL.

(Différences entre les versions)
m (find (included file) : ajouté la date)
m (Fichier de commande des tests : Mise à jour)
Ligne 143 : Ligne 143 :
== Fichier de commande des tests ==
== Fichier de commande des tests ==
 +
 +
{{Boîte déroulante/début|titre=MAKE_Tests_U}}
 +
* File: KONSOLE
 +
<pre style = "color:black">
 +
#!/bin/bash
 +
echo -e '\E['32';'01'm'"click on New Line to 'start' the Konsole"
 +
# echo -e '\E['31';'01'm' "not 'start in a terminal'"
 +
echo -e '\E['32';'01'm'"click on Ctrl-C to exit"
 +
tput sgr0 # Reset text attributes to normal without clear
 +
read pwd
 +
pwd
 +
echo $pwd
 +
tput sgr0 # Reset text attributes to normal without clear
 +
/usr/bin/konsole background-mode --workdir pwd dir
 +
read
 +
</pre>
 +
 +
* File: MAKE_Tests_U
 +
<pre style = "color:black">
 +
#!/bin/bash
 +
#O ../../mkd tests under Linux.
 +
#O Epreuve de vérification de la fonction find.inc.c() avec ../../mkd
 +
rm test_find.txt
 +
../../mkd -svwfj '**' test_find.prj test_find.txt > test.stdout
 +
gedit test_find.txt test.stdout
 +
</pre>
 +
 +
* File: Make_Tests_files
 +
<pre style = "color:blue">>
 +
#!/bin/dash
 +
echo "assembler" > test.ASM
 +
echo "basic" > test.BAS
 +
echo "batch" > test.BAT
 +
echo "fortran" > test.FOR
 +
echo "pascal" > test.PAS
 +
echo "visual basic" > test.vb
 +
echo "c++" > test.c++
 +
echo "c++" > test.h++
 +
echo "c--" > test.c--
 +
echo "c--" > test.h--
 +
echo "c++" > test.cpp
 +
echo "c++" > test.hpp
 +
echo "css" > test.css
 +
echo "c++" > test.cc
 +
echo "c sharp" > test.cp
 +
echo "c sharp" > test.cs
 +
echo "c sharp" > test.c#
 +
echo "C" > test.C
 +
echo "C" > test.h
 +
echo "D" > test.D
 +
echo "prolog" > test.pro
 +
echo "php" > test.php
 +
echo "java" > test.jav
 +
echo "javasript" > test.jse
 +
echo "javasript" > test.js
 +
#w echo "mkd" > test.prj not a programming language
 +
#w echo "mkd" > test.pj  not a programming language
 +
# UNIX
 +
echo "assembler" > test.s
 +
echo "fortran" > test.f
 +
echo "pascal" > test.p
 +
echo "ratfor" > test.r
 +
echo "shell" > test.sh
 +
echo "cshell" > test.csh
 +
echo "perl" > test.pl
 +
echo "ruby" > test.rb
 +
echo "python" > test.py
 +
echo "python" > test.pyw
 +
# C strict
 +
echo "C strict src" > test.c
 +
#w echo "C strict include preformated" > test.i Only for c strict
 +
echo "C strict header" > test.h
 +
# Make prj file
 +
ls -1 > test_find.prj
 +
</pre>
 +
{{Boîte déroulante/fin}}
== Analyse des test konsole ==
== Analyse des test konsole ==

Version du 10 mai 2013 à 07:28

Retour aux fichiers en développement →

Sommaire

find (included file)

Fichier de commande des tests

Analyse des test konsole

Fichiers sources des tests

Outils personnels